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 Invalid cursor state exception 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 "Invalid cursor state exception" Watch "Invalid cursor state exception" New topic

Invalid cursor state exception

Sudhir Shankar

Joined: Jun 01, 2006
Posts: 4
I am getting invalid cursor state exception, while trying to process a resultset got after executing an sql query. The same peice of code works perfectly fine when connected to one db while it gives this exception when i connect to an another database. I have verified the db settings for both these, but they seem similar. I want to know if I have missed some configuration in the second db thats causing this error.

Prabhu Sathya

Joined: Jul 13, 2006
Posts: 8
Post the code you have tried..
I agree. Here's the link:
subject: Invalid cursor state exception
It's not a secret anymore!