aspose file tools
The moose likes JDBC and the fly likes Invalid cursor state Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Invalid cursor state" Watch "Invalid cursor state" New topic
Author

Invalid cursor state

jan frank
Greenhorn

Joined: Jul 31, 2005
Posts: 5
Hi,

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:



Thanks
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

while (rs.next()) {
System.out.println(rs1.getString("welcome_note"));
}


Which result set are we referring to?
jan frank
Greenhorn

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Invalid cursor state
 
Similar Threads
two dropdown menus
jsp:compare select statement error
Help with JSP Page
I M NOT ABLE TO DEFINE VARIABLES IN JSP.
Error in rs