cancelRowUpdates Method (SQLServerResultSet)

Cancels the updates made to the current row in this SQLServerResultSet object.

public void cancelRowUpdates()

异常

SQLServerException

备注

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

This method can be called after calling an updater method and before calling the updateRow method to roll back the updates that were made to a row. If no updates have been made or updateRow has already been called, this method has no effect.

另请参见

参考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members