2 Replies Latest reply on Jan 21, 2009 3:56 AM by tilek

    What is no-tx-datasource?

    tilek

      Hi,

      If I understand correctly "no-tx-datasource" isn't managed by JBossTS, but "local-tx-datasource" all connection is managed by JBossTS?

      If I would like to use spring to manage a JTA transaction, should I create datasource type "no-tx-datasource"?

      Currently, I use "local-tx-datasource", it has a problem about an enlistment, but it work fine when I use "no-tx-datasource". Does it has any side effict in the changing?

      Thanks.

        • 1. Re: What is no-tx-datasource?
          vickyk

           

          "tilek" wrote:

          Currently, I use "local-tx-datasource", it has a problem about an enlistment, but it work fine when I use "no-tx-datasource". Does it has any side effict in the changing?


          The connections obtained from the local-tx-datasource and xa-datasource are enlisted in the ongoing TX, this is transparent to the application.
          The transparent TX enlistment of the connections in the onoging JTA tx are not done if the connections are obtained from no-tx-datasource.
          What problem are you getting when you are using local-tx-datasource?



          • 2. Re: What is no-tx-datasource?
            tilek

            Thanks.