Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sql exception

 
amol bakre
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!everyone
I have a programme in which i query the database.I have used the following line of code to create statement object
connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
when my programme executes i get an exception saying
option feature not implemented
what is this and how do i get a result set that is updatable and at the same time scrollable in both directions!!
THANKS
AMOL
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the optons you've chosen are only supported in JDBC 2.0. You need to download the updated version.

Bosun
 
A Agrawal
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Bosun is right. Download the latest JDBC (Now 3.0 is available) also Download driver from your DataBase Vendor's site in case you are using thin driver.

------------------
Amit Agrawal,
New Delhi, India.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic