Can someone please explain the use of XA dataSource and how transaction management works in an XA datasource ? How is XA datasouce and 2 Phase commit related?
Two-phase commit and XA are more or less synonyms. They ensure that the ACIDity of a transaction is preserved even if this transaction involves several transactional systems such as, for example
To be able to participate in such a global transaction, each datasource must collaborate with the XA transaction manager, and must thus implement the XA protocol. If you need two-phase commit, you thus need an XA datasource.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With