Mark Struberg created DELTASPIKE-462:
----------------------------------------

             Summary: BeanManagedUserTransactionStrategy closes transaction 
even if it is called within EJB
                 Key: DELTASPIKE-462
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-462
             Project: DeltaSpike
          Issue Type: Bug
          Components: JPA-Module
    Affects Versions: 0.5
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 0.6


Happens if BeanManagedUserTransactionStrategy is used.

If a @Stateless EJB invokes a @Transactional CDI bean then the UserTransaction 
is already open. In this case our TransactionStrategy must not commit the 
EntityTransaction but leave it to the outer EJB.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to