Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem withUpdatable Resultset

 
Sudhir Patil
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic