7.14.7 MicroTx PL/SQL Library Functions
The MicroTx PL/SQL library provides the following functions to specify the transaction boundaries.
- TMM_BEGIN_TX Function
Used by a transaction initiator application to start a global transaction that spans across multiple microservices. It returns aMicroTxTransaction
object which has the transaction metadata. - TMM_GET_TX_STATUS Function
Used by a transaction initiator application to retrieve the current transaction status. - TMM_COMMIT_TX Function
Used by the transaction initiator application to commit a global transaction. - TMM_ROLLBACK_TX Function
Used by a transaction initiator application to roll back a global transaction. - TmmStart Function
Enlists the transaction participant service with the MicroTx XA coordinator in a global transaction, starts the XA transaction boundary, registers the call back REST APIs, and returns the transaction metadata. - TmmEnd Function
Call theTmmEnd
function in your participant application code after the business logic has been completely executed. It ends the XA transaction boundary.
Parent topic: Develop ORDS App with XA