This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invalid cursor state

 
Ankitt Gupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


It is givng the output as

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

 
Ankitt Gupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The database is in Ms Access


Name Address Roll
Ankit Kolkata 1
Gupta Delhi 2
Sachin Mumbai 3
 
Aurelian Tutuianu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Third field is numeric? Maybe that's why. Sometimes the messages from jdbc drivers are not a hell of a help.
 
Ankitt Gupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i changed it to text but no avail.Please help
 
Ankitt Gupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it fixed....by mistake i put semi colon in while loop...ah so silly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic