7.14.7.6 TmmEnd Function
Call the TmmEnd
function in your participant application code after the business logic has been completely executed. It ends the XA transaction boundary.
Syntax
TmmEnd (
xid IN DBMS_XA_XID)
RETURN TmmReturn;
TmmEnd Function Parameters
Parameter | Description |
---|---|
xid |
Unique ID for the transaction. When you call TmmStart() , it returns a TmmReturn object. You don't have to set a value for this parameter as this unique value is already set when the TmmReturn object is returned.
|
Return Value
The TmmEnd
function returns a TmmReturn
object, which has the transaction metadata.
Examples
The following sample code demonstrates how you can call the TmmEnd
function and the function returns a TmmReturn
object.
//Call the TmmEnd function to end the XA transaction boundary
l_tmmReturn_end := TmmEnd(xid => l_tmmReturn.xid);
Parent topic: MicroTx PL/SQL Library Functions