To get a scrollable result set, you first need to create a
Statement object
with its type and concurrency parameters set with constants from
the ResultSet class
Statement stat =
conn.createStatement(ResultSet.TYPE_SROLL_SENSITIVE,
ResultSet.CONCUR_READ_ONLY);
ResultSet result = stat.executeQuery(. . . );