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 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Invalid cursor state" Watch "Invalid cursor state" New topic

Invalid cursor state

jan frank

Joined: Jul 31, 2005
Posts: 5

Any suggestions & solutions about this elusive error message? [Microsoft][ODBC Driver Manager] Invalid cursor state.
This is the bit of code that gives that error:

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

while ( {

Which result set are we referring to?
jan frank

Joined: Jul 31, 2005
Posts: 5
oops! the resultset should have been rs1 not rs.
I resolved the problem
Consider Paul's rocket mass heater.
subject: Invalid cursor state
It's not a secret anymore!