This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
I agree. Here's the link:
subject: Invalid cursor state
jQuery in Action, 3rd edition