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

语法

public void rollback(java.sql.Savepoint s)

参数

s

The SavePoint object to rollback to.

异常

SQLServerException

备注

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.

另请参见

SQLServerConnection Class
rollback Method (SQLServerConnection)
SQLServerConnection Methods
SQLServerConnection Members