Hitachi

Hitachi Advanced Database Application Development Guide


8.5.62 isBeforeFirst()

Organization of this subsection

(1) Function

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

(2) Format

public synchronized boolean isBeforeFirst() throws SQLException

(3) Arguments

None.

(4) Return value

If the cursor is located before the first row, the method returns true; if not, or the result set contains no rows, the method returns false.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: