1 Reply Latest reply on Sep 27, 2002 1:58 PM by dsundstrom

    Problem with Transactions and SessionSynchronization interfa

    xlrg

      Hello,

      I've created an statefull session bean (SessionFacade) wich implements the SessionSynchronization interface.
      In the ejb-jar.xml transaction-type is set to Container and
      <container-transaction>

      <ejb-name>SessionFacade</ejb-name>
      <method-name>functionA</method-name>


      <ejb-name>SessionFacade</ejb-name>
      <method-name>functionB</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>

      Only for the methods functionA() and functionB() the afterCompletion(boolean commited) should be called.
      Why is afterCompletion(boolean commited) also called for methods not listed in ejb-jar.xml?

      thx,
      xlrg