This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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?


 
rocket mass heater kickstarter
 
subject: ResultSet not updateable Exception when using RowSet