Hitachi

Hitachi Advanced Database Application Development Guide


8.2.30 rollback()

Organization of this subsection

(1) Function

This method undoes all changes made by the transaction and releases all locks currently held by the Connection object.

If you call this method while the automatic commit mode is enabled, the method performs rollback processing without throwing an exception.

(2) Format

public synchronized void rollback() throws SQLException

(3) Arguments

None.

(4) Return value

None.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases:

(6) Notes