0 Replies Latest reply on Jul 17, 2002 11:34 AM by Anand Desai

    UserTransaction - What are the connections?

    Anand Desai Newbie


      Hi,

      I am doing some framework based work with JTA. I have a requirement where I need to access the java.sql.Connection object(s) associated with a javax. transaction.UserTransaction. I looked into the JBoss code and found that the TxCapsule class has a conatiner of XAResources through which I would be able to access what I require. However there's no getter for that container (maybe I am trying to get it easy!)

      So can someone tell me how do get access to the Connection objects relevant to a UserTransaction?

      Just for information, I am using the JNDI lookup for getting the UserTransaction.

      Thanks,

      Anand.