ResultSet循环遍历时,对数据进行修改,但是报错ResultSet is read only

Statement ps_page = l_conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE );
ResultSet rs_page = ps_page.executeQuery(qii.l_sql_page);
while(rs_page.next()){
String value = rs_page.getString(column);
String str_de = PubFunction.dePass(value);
rs_page.updateString(column, str_de);

                }
报错
java.sql.SQLException: ResultSet is read only.
但是我改成,TYPE_SCROLL_SENSITIVE也报同样的错误

http://blog.csdn.net/xiuluomenshen1986/article/details/2387220

jTDS的TYPE_SCROLL_INSENSITIVE只支持只读操作(Only works with read-only concurrency (updatable is downgraded)),TYPE_SCROLL_SENSITIVE支持Update操作,但不支持另外的Insert(说明:此Insert指的是新增一条空记录,并在当前记录中填值的情况),而TYPE_SCROLL_SENSI......
答案就在这里:ResultSet is read only .
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

好?你文章不错啊,因为你写的好

查出来的结果可以用list存下来再改,或者取出主键写update语句直接改表

ResultSet 直接用List接,再改List中的数据