Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invalid Cursor Position

 
Chandrakanth Belde
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic