my dog learned polymorphism*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
 
jQuery in Action, 2nd edition
 
subject: problem with scrollable resultset