aspose file tools*
The moose likes JDBC 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
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://aspose.com/file-tools
 
subject: Invalid cursor state