Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 9 Transaction Processing : Nesting Transactions

Nesting Transactions
How are Transactions Nested?
When you EXECUTE a rule from within a current transaction, it suspends the current transaction—known as the parent transaction—and starts a child transaction. The transactions are now nested.
Behavior of Nested Transactions
When a transaction is nested, the following occurs:
A parent transaction can handle failures of a child transaction with the EXECUTEFAIL exception.
What Determines the Transaction Level?
The first transaction started in a user session starts at transaction level one. The session parameter TRANMAXNUM determines the maximum number of transactions that can be nested for a user session.
Finding the Name of a Rule in a Transaction
You can use the $RULENAME shareable tool to find out the name of a rule in the current transaction or in a parent transaction.
See Also
TIBCO Object Service Broker Parameters about session parameters.
TIBCO Object Service Broker Shareable Tools about the $RULENAME tool.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved