How do I get a scrollable ResultSet?
Created May 4, 2012
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
ResultSet.CONCUR_READ_ONLY);
Now use the Statement object to execute the query: For example:-
For more information refer to:
Java - JDBC2.0 Information.