Freigeben über


isBeforeFirst Method (SQLServerResultSet)

Retrieves whether the cursor is before the first row in this SQLServerResultSet object.

public boolean isBeforeFirst()

Rückgabewert

true if the cursor is before the first row. false if the cursor is at any other position or if the result set contains no rows.

Ausnahmen

SQLServerException

Hinweise

This isBeforeFirst method is specified by the isBeforeFirst method in the java.sql.ResultSet interface.

If this method is used with dynamic cursors, including forward-only read-only cursors, and the selectMethod connection property is set to "cursor", an exception will occur.

Siehe auch

Verweis

SQLServerResultSet Class

Konzepte

SQLServerResultSet Methods
SQLServerResultSet Members