public abstract boolean isFirst () throws SQLException

Retrieves whether the cursor is on the first row of this ResultSet object.

Note:Support for the isFirst method is optional for ResultSets with a result set type of TYPE_FORWARD_ONLY

Returns:  true if the cursor is on the first row; false otherwise

Exceptions:
SQLException    if a database access error occurs or this method is called on a closed result set
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

Since:  1.2