1 of 1 people found this helpful
XA datasources are used for the 2PC (2 phase commit protocoll)
This mean if you have several resources in the same transaction the 2PC allow a better control during the commit phase.
All resources will be asked in the prepare phase whether they are able to commit, if not the whole Tx will be rolled back. If yes the resources will do the cmmit.
This is to ensure the consistency for distributed systems.
Thanks for the info. One question thought, if the XA datasources are used for 2PC, How about the datasource?