0 Replies Latest reply on Jun 24, 2003 6:50 AM by Markus Joschko

    jdbc statement to join JTA Transaction

    Markus Joschko Newbie

      our application is calling different EJBs. The first one is opening a Usertransaction.
      Later in the path, a stateless session bean should write a few jdbc statements in a DB.
      I want this DB connection to use the existing Usertransaction.

      I am not sure if this simply works (just getting the connection from the datasource), or if I have to use a XADatasource/XAConnection (and if yes how I have to use it the right way).

      Maybe anybody can give me a hint how to accomplish this.


      If anybody know a good online XAConnection Doc, please post it.