File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Invalid Cursor Position

Chandrakanth Belde
Greenhorn

Joined: Dec 01, 2004
Posts: 15
Hi,

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)
at com.stc.eindex.ejb.query.AttributesData.get(AttributesData.java:80)
at com.stc.eindex.ejb.query.ObjectNodeAssembler.createRoot(ObjectNodeAssembler.java:134)
... 39 more

even though there are values in the cachedrowsetimpl object i am getting this exception. could any one help me
 
GeeCON Prague 2014
 
subject: Invalid Cursor Position