rollBack()

Rolls back the current transaction in the relationship database.

Syntax

void rollBack()
 

Parameters

None.

Return values

None.

Exceptions

DtpConnectionException - If a database error occurs.

Notes

The beginTran(), commit() and rollBack() methods together provide transaction support for SQL queries.

Before beginning a transaction, you must create a DtpConnection object with the getRelConnection() method from the BaseDLM class.

See also

beginTran(), commit(), getRelConnection(), inTransaction()

Copyright IBM Corp. 2003