Hitachi

Hitachi Advanced Database Application Development Guide


8.5.64 isFirst()

Organization of this subsection

(1) Function

This method acquires a value indicating whether the cursor is located on the first row in the ResultSet object.

(2) Format

public synchronized boolean isFirst() throws SQLException

(3) Arguments

None.

(4) Return value

If the cursor is located on the first row, the method returns true; if not, the method returns false.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: