transaction is in progress in the current connection.
Syntax
boolean inTransaction()
Parameters
None.
Return values
Returns true if a transaction is currently active in current connection; returns false otherwise.
Exceptions
CwDBConnectionException - If a database error occurs.
Notes
The inTransaction() method returns a boolean value that indicates whether the current connection has an active transaction; that is, a transaction that has been started but not ended.
See also