2 Replies Latest reply on Jul 9, 2013 8:08 AM by hohokampeople

    XADataSource VS DataSource

    hohokampeople

      Hi

       

         Can anyone enlight me the difference between XADataSource and DataSource?

        • 1. Re: XADataSource VS DataSource
          wdfink

          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.

          1 of 1 people found this helpful
          • 2. Re: XADataSource VS DataSource
            hohokampeople

            Hi Wolf-Dieter,

             

                Thanks for the info. One question thought, if the XA datasources are used for 2PC, How about the datasource?