aspose file tools
The moose likes JDBC and the fly likes Invalid cursor state Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Invalid cursor state" Watch "Invalid cursor state" New topic
Author

Invalid cursor state

Ankitt Gupta
Ranch Hand

Joined: Feb 19, 2009
Posts: 101


It is givng the output as

Connection Estabilished Exception in thread main java.sql.SQLException: [ODBC DriverManager] Invalid cursor state......

Ankitt Gupta
Ranch Hand

Joined: Feb 19, 2009
Posts: 101
The database is in Ms Access


Name Address Roll
Ankit Kolkata 1
Gupta Delhi 2
Sachin Mumbai 3
Aurelian Tutuianu
Ranch Hand

Joined: May 13, 2004
Posts: 86
Third field is numeric? Maybe that's why. Sometimes the messages from jdbc drivers are not a hell of a help.


http://javasign.blogspot.com/
Ankitt Gupta
Ranch Hand

Joined: Feb 19, 2009
Posts: 101
i changed it to text but no avail.Please help
Ankitt Gupta
Ranch Hand

Joined: Feb 19, 2009
Posts: 101
i got it fixed....by mistake i put semi colon in while loop...ah so silly
 
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
How to store a MessageDigest object in Oracle Database
Hi,I have a problem in database connection
Package import !
error while using sql update statement
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state