Can we define a scrollable resultSet for a prepared statement? If so how? Please help
Milind Mahajan
Ranch Hand
Joined: Oct 23, 2000
Posts: 77
posted
0
Yes. You can do that by using following method in Connection interface included in JDBC 2.0 API. prepareStatement(String sql, int resultSetType, int resultSetConcurrency) set the value of second argument - 'resultSetType' as ResultSet.TYPE_SCROLL_SENSITIVE to get scrollable resultset. -Milind