File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes sql exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "sql exception" Watch "sql exception" New topic
Author

sql exception

amol bakre
Greenhorn

Joined: May 21, 2001
Posts: 25
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

Joined: Nov 06, 2000
Posts: 1506
I believe the optons you've chosen are only supported in JDBC 2.0. You need to download the updated version.

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
A Agrawal
Ranch Hand

Joined: Jul 13, 2001
Posts: 41
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.


Amit Agrawal,<BR>New Delhi, India.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sql exception
 
Similar Threads
Able to send mail without host name
problem
Connection reset by peer
Runtime permission in JDBC
need help!