Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL - updating database row

807606Mar 7 2007 — edited Mar 8 2007
I have a java app to update a database, but i get this error:

ERROR: SQL Exception: 'updateString' not allowed because the ResultSet is not an updatable ResultSet.

Howevere, my resultset is updatable since i have:
                        Statement s = con.createStatement(
                               ResultSet.TYPE_SCROLL_INSENSITIVE,
                               ResultSet.CONCUR_UPDATABLE); 
Any ideas why i am getting this error.

Thanks in advance. :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2007
Added on Mar 7 2007
28 comments
591 views