| Author |
SQL Exception: Invalid cursor state
|
duplessis van aswegen
Greenhorn
Joined: Aug 01, 2011
Posts: 2
|
|
Hi guys, I'm coding a simple translation program that uses a SQL database to retrieve the words from both languages and then,
when you choose a word from the list, translate it to the corresponding word in the other language.
Here's the Error:
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
And here's the code:
Any help would be appreciated.
Thanks.
|
 |
duplessis van aswegen
Greenhorn
Joined: Aug 01, 2011
Posts: 2
|
|
|
nevermind guys I fixed it...
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Welcome to CodeRanch!
I assume you fixed it by adding rs.next(). If it was something else, please share so others can learn from your experience.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: SQL Exception: Invalid cursor state
|
|
|