aspose file tools*
The moose likes JDBC and the fly likes problem with scrollable resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem with scrollable resultset" Watch "problem with scrollable resultset" New topic
Author

problem with scrollable resultset

Vrishali Pal
Greenhorn

Joined: Jul 09, 2000
Posts: 3
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
 
 
subject: problem with scrollable resultset