JDBC Resultset Interface


Prev Tutorial Next Tutorial

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

methodDescription
1public boolean next()Used to move the cursor to the one row next from the current position.
2public boolean previous()Used to move the cursor to the one row previous from the current position.
3public boolean first()Used to move the cursor to the first row in result set object.
4public boolean last()Used to move the cursor to the last row in result set object.
5public boolean last()Used to move the cursor to the last row in result set object.

Prev Tutorial Next Tutorial

Advertisements




Facebook Likes

Advertisements