Hitachi

Hitachi Advanced Database Application Development Guide


8.5.66 last()

Organization of this subsection

(1) Function

This method moves the cursor to the last row of the ResultSet object.

(2) Format

public synchronized boolean last() throws SQLException

(3) Arguments

None.

(4) Return value

If the cursor is moved to the last row, the method returns true; if the result set contains no rows, the method returns false.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: