aspose file tools*
The moose likes JDBC and the fly likes Problem withUpdatable Resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem withUpdatable Resultset" Watch "Problem withUpdatable Resultset" New topic
Author

Problem withUpdatable Resultset

Sudhir Patil
Greenhorn

Joined: Apr 09, 2004
Posts: 3
I am facing problem with updating the records through JDBC Application using updatable recordset, thourgh I have created a statement(Prepared) with CONCUR_UPDATABLE and TYPE_SCROLLABLE. Still the recordset obtained is READ ONLY, hence not able to update the records from recordset.

Driver used: from Oracle thin driver.

Kindly suggest me the solution to update records from recordset.
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1135

Sudhir,
There are limitations with the Oracle JDBC driver(s). Not every query can return an updatable, scrollable "ResultSet". The limitations are detailed in the "JDBC Developer's Guide and Reference" which is available online from Oracle's Tahiti Web site.

For queries that cannot give updatable "ResultSet"s, Oracle will silently turn them into read-only "ResultSet"s.

Good Luck,
Avi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem withUpdatable Resultset