Επεξεργασία

Κοινή χρήση μέσω


rowInserted Method (SQLServerResultSet)

Download JDBC driver

Retrieves whether the current row has had an insertion.

Syntax

  
public boolean rowInserted()  

Return Value

true if a row has had an insertion and insertions are detected. Otherwise, false.

Exceptions

SQLServerException

Remarks

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

The value that is returned depends on whether this SQLServerResultSet object can detect visible inserts.

Note

SQL Server does not detect inserted rows for any cursor type.

See Also

SQLServerResultSet Members
SQLServerResultSet Class