Share via


rollback Method (java.sql.Savepoint)

Undoes all changes made after the given SQLServerSavepoint object was set.

Syntax

public void rollback(java.sql.Savepoint s)

Parameters

s

The SavePoint object to rollback to.

Exceptions

SQLServerException

Remarks

This rollBack method is specified by the rollBack method in the java.sql.Connection interface.

This method should be used only when auto-commit mode has been disabled.

See Also

Reference

SQLServerConnection Class

Concepts

rollback Method (SQLServerConnection)

SQLServerConnection Members