JDBC Resultset Interface
Advertisements
ResultSet Interface in JDBC
The object of ResultSet maintains a cursor pointing to a particular row of data. Initially, cursor points to before the first row.
Method of ResultSet Interface
method | Description | |
---|---|---|
1 | public boolean next() | Used to move the cursor to the one row next from the current position. |
2 | public boolean previous() | Used to move the cursor to the one row previous from the current position. |
3 | public boolean first() | Used to move the cursor to the first row in result set object. |
4 | public boolean last() | Used to move the cursor to the last row in result set object. |
5 | public boolean last() | Used to move the cursor to the last row in result set object. |
Google Advertisment