It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes why Invalide cursor state exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

why Invalide cursor state exception

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216

Dear sir i have just created a table in oracle under the scott user whose name is User_Login when i am retriving data by above coding it is throwing an exception that Invalide cursor state why sir? But i am sure that my code is right.
Same coding when i am using with predifined table like emp in scott user by the same code it is working fine.

with regard

Arun kumar maalik
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32299

Closing - see other copy of thread

[OCA 8 book] [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
I agree. Here's the link:
subject: why Invalide cursor state exception
It's not a secret anymore!