rowInserted Method (SQLServerResultSet)

Retrieves whether the current row has had an insertion.

public boolean rowInserted()

返回值

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

异常

SQLServerException

备注

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.

备注

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

另请参见

参考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members