File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC - SQLSTATE : 24000 java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state

 
Vikramjit Saha
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have the following method:




This method when executes the query :-




Gives the : Invalid cursor error.

Database format is : accdb (access 2007)


My getConnection method is :-





ALL other select queries are working fine and the rs!=null in the first method is okay too.

Please revert back

[moderator removed colors, and added code tags]
 
Jan Cumps
Bartender
Posts: 2577
11
C++ Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Vikramjit!

For readability, we have removed the colors from your post, and wrapped code tags around the code.

Good luck.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic