0 Replies Latest reply on Feb 27, 2009 2:47 PM by Mohit Anchlia

    setRollbackOnly set by remote EJB with @TransactionAttribute

    Mohit Anchlia Novice

      What happens when

      1. "A" Bean calls "B" Bean and in a transaction context
      2. B's business methos has @TransactionAttribute(REQUIRED)
      3. B marks setRollbackOnly

      Does container first rollback B's transaction before returning and then A rollsback it's transaction or does container rollsback A both A's changes and B's changes as well while trying to commit or rollback in A bean. I looked in EJB specs but found it confusing.