将数组初始化大些
或者直接用hashtable等动态数组

解决方案 »

  1.   

    我可没有声明任何数组啊~ 我估计ResultSet对象本身包含一个数组,但是操作的时候不小心越界了,但是我不清楚是什么操作,是何原因使之越界。
      

  2.   

    rs.insertRow();
    rs.moveToInsertRow(); // moves cursor to the insert row
    rs.updateString("content",content);
    rs.updateString("author",author); 
    rs.updateTimestamp("inserttime",ts);// updates the rs.moveToCurrentRow();
      

  3.   

    什么??我可是按照java 1.4 api 文档上面的例子抄下的那几行啊~