ads/auto.txt

Resultset Java Sql Example

Resultset Java Sql Example. Extract data from result set whilersnext Retrieve by column. If the given row number is negative the cursor moves to an absolute row position with respect to the end of the result set.

Scrollable Resultset In Jdbc
Scrollable Resultset In Jdbc from www.sitesbay.com

ResultSet rs stmtexecuteQuerysql. Statement aStatement concreateStatement ResultSetCONCUR_UPDATABLE. Statement stmt concreateStatement.

Calling the method absolute-2 moves the cursor to the next-to-last row and so on.

By default ResultSet object can be moved forward only and it is not updatable. The ResultSet object also provides a getter method that that gets the value from the ResultSet object table. Statement stmt concreateStatement. You need to specify only the Column name or index no of the table.