This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Don't get me started about those stupid light bulbs.
 
subject: problem with scrollable resultset
 
Similar Threads
Limiting ResultSet
JDBC
Scrollable ResultSet and DB2 JDBC Driver
How to use rs.previous() method
Scrollable ResultSet