File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Invalid Cursor Position
It's not a secret anymore!