jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes JdbcOdbcDriver option  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JdbcOdbcDriver option  problem " Watch "JdbcOdbcDriver option  problem " New topic

JdbcOdbcDriver option problem

Kristof Camelbeke
Ranch Hand

Joined: Nov 28, 2001
Posts: 97
I can make a connection to a Ms-Access database and retrieve the data into the ResultSet.
But now I decided I wanted to make my ResultSet scrollable so I can insert and delete so I updated my statement handler as follows :

Statement stmt = con.createStatement(
But when I now make a connection I receive an error that tells me that the option is not available.
I there a way to solve this or should I try something else ?
Thanks for any input....
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Hi mate,
From what I know, to get a scrollable resultset, there are two conditions. The database you are using must support it, and the JDBC driver you are using must support it. So, there is not much you can do, other that to move to another database,like Oracle, with those capabilities.
hope that helps.

The future is here. It's just not evenly distributed yet. - William Gibson
Sonny Gill LinkedIn
I agree. Here's the link: http://aspose.com/file-tools
subject: JdbcOdbcDriver option problem
It's not a secret anymore!