File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes jdbc cursor error in win98 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc cursor error in win98" Watch "jdbc cursor error in win98" New topic

jdbc cursor error in win98

yoursrini vasan

Joined: Aug 21, 2004
Posts: 2
I have Exception while creating PreaparedStatement in java under win98 os and i can create a Statement which can give a result to browse both side. The default Statement return a Resultset with FORWARD_ONLY option.

Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

moving this to JDBC, please post replies there. Thanks!
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823

It's not very clear to me from your posting what your question or problem is. Can you please try and reword it and/or give a little more information?

I'm going to have a guess at what you mean; you want a scrollable ResultSet, right? If that's the case then you'll need a JDBC driver that supports JDBC 2.0 (at least) and then you need to look at Connection.prepareStatement(String sql, int resultSetType, int resultSetConcurrency). Constants for the two int parameters can be found in the ResultSet class.

Hope that helps.

I agree. Here's the link:
subject: jdbc cursor error in win98
It's not a secret anymore!