rollback Method (java.sql.Savepoint)

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