File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes an illigal cursor status. 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 » Java » Beginning Java
Bookmark "an illigal cursor status." Watch "an illigal cursor status." New topic

an illigal cursor status.

Levien de Reu

Joined: Nov 28, 2004
Posts: 3

Can anyone give me al clue?
I want to execute a the following query on an MS access DB via jdbc-odbc bridge
Connection con = DriverManager.getConnection(URL);
Statement st = con.createStatement();
ResultSet rs = st.executeQuery("SELECT MAX(persId) FROM Persoon");

I would like it to return the max value of the int persId.
But i get an 'Illigal cursor status' (SQLException id=43).
I'm working with tomcat 5.0 and eclipse.

I hope someone knows what i'm doing..............wrong.


Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Levien de Reu!

I'm moving this to the JDBC forum...
[ November 28, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: an illigal cursor status.
It's not a secret anymore!