1 Reply Latest reply on Dec 29, 2004 7:11 PM by starksm64

    JTA Question

    puneetjains

      Hi
      in JTA uses 2 phace commit protocol.
      if i have a single database associated with a transaction
      and i call UserTransaction.commit
      will the row immediately inserted in the database, what i understand is in 2 phase commit the final decision will be made b the TransactionManager.
      where i can seee the setting for timing of the transaction manager commit period i.e after what time it sends signal to resource manager or is there any setting for timings for transaction manager commit.

        • 1. Re: JTA Question
          starksm64

          2 phase does not mean asynchronous. Download the source code and see the org.jboss.tm.TxManager class which implements the javax.transaction.TransactionManager interface.