This content has been marked as final.
Show 2 replies
-
1. Re: XADataSource VS DataSource
wdfink Jul 9, 2013 7:59 AM (in response to hohokampeople)1 of 1 people found this helpfulXA 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.
-
2. Re: XADataSource VS DataSource
hohokampeople Jul 9, 2013 8:08 AM (in response to wdfink)Hi Wolf-Dieter,
Thanks for the info. One question thought, if the XA datasources are used for 2PC, How about the datasource?