3.14.2.7. Distributed Transaction
The database slices participate in a global transaction provided each slice is configured with a XA-compliant JDBC driver, even when the persistence unit is configured for RESOURCE_LOCAL transaction.
|
|
If any of the configured slices is not XA-compliant and_ the persistence unit is configured for [class]``RESOURCE_LOCAL`` transaction then each slice is committed without any two-phase commit protocol. If commit on any slice fails, then atomic nature of the transaction is not ensured. |