Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with scrollable resultset

 
Vrishali Pal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am trying to use scrollable resultset by using following code.
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
ResultSet rs = stmt.executeQuery("select empl_no from empmst");
while(rs.next()){
System.out.println(rs.getString(1));
}
stmt.close();
it is compiling but at run time its trowing the exception
Exception in thread "main" java.lang.AbstractMethodError
if somebody knows how to proceed then pls reply
thanks
vaishali
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic