This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JDBC and the fly likes ResultSet not updateable Exception when using RowSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ResultSet not updateable Exception when using RowSet" Watch "ResultSet not updateable Exception when using RowSet" New topic
Author

ResultSet not updateable Exception when using RowSet

al yosha
Greenhorn

Joined: Mar 07, 2011
Posts: 12
I'm usinging RowSet to update an mySQL table and i'm getting a ResultSet is not updateable Exception at line 60(were I use the updateString() method in the doPost() method). From my understanding RowSet is updateable by default and I even call the isReadOnly() method to check this, which returns true! But even after setting readOnly to false I still get the same exception. Why?


 
 
subject: ResultSet not updateable Exception when using RowSet