cancelRowUpdates Method (SQLServerResultSet)

Download JDBC driver

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

Syntax

  
public void cancelRowUpdates()  

Exceptions

SQLServerException

Remarks

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.

See Also

SQLServerResultSet Members
SQLServerResultSet Class