inTransaction()

Determines whether a transaction is in progress in the relationship database .

Syntax

boolean inTransaction()
 

Parameters

None.

Return values

Returns "True" if a transaction is in progress.

Exceptions

DtpConnectionException - If a database error occurs.

Notes

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

See also

beginTran(), commit(), getRelConnection(), rollBack()

Copyright IBM Corp. 1997, 2003