2 Replies Latest reply on May 29, 2008 4:57 PM by Ale Fred

    EJB methods and transactions

    Ale Fred Newbie

      I've the following use case :
      a webpage button invokes a SFSB method which invokes another SLSB method .
      The SLSB  updates en entity and flushes the persistencectx but
      the changes are not propagated to the db until the first method ends.
      Does the SLSB method invokation start a new transaction or everything happens in the only transaction started by the SFSB method?

      Is there a way to start a new transaction for any nested method call?