• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem withUpdatable Resultset

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic