wood burning stoves 2.0*
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
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: 1121

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.
 
 
subject: Problem withUpdatable Resultset
 
Similar Threads
batch update
Insert/Update recordset
how to find out how many records returned in recordSet
transfer a set of records(.mdb file) from client to server
B&S Design Decision