2 Replies Latest reply on Jun 14, 2009 6:20 AM by Fred Zhang

    EJB TX_REQUIRES_NEW and XA Transaction

    Fred Zhang Newbie

      Hi there,
      In our system, there are 2 SLSBs, say SLSB1 and SLSB2, using different datasources, both of the datasources are XA datasource.

      SLSB1 is marked as TX_REQUIRED and SLSB2 is marked as TX_REQUIRES_NEW;

      A method in SLSB1 calls a method in SLSB2.

      My question is, will transaction for the SLSB2 method be committed after the method finished? or it will not be committed until SLSB1 method finished?

      Thanks in advance...