This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Invalid Cursor Position Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Invalid Cursor Position" Watch "Invalid Cursor Position" New topic

Invalid Cursor Position

Chandrakanth Belde

Joined: Dec 01, 2004
Posts: 15

I have used CachedRowSetImpl class of JDK1.5 But while retrieving elements in the CachedRowSetImpl using next method. it is giving following exception
Caused by: java.sql.SQLException: Invalid cursor position
at com.sun.rowset.CachedRowSetImpl.checkCursor(Unknown Source)
at com.sun.rowset.CachedRowSetImpl.getObject(Unknown Source)
... 39 more

even though there are values in the cachedrowsetimpl object i am getting this exception. could any one help me
It is sorta covered in the JavaRanch Style Guide.
subject: Invalid Cursor Position
It's not a secret anymore!