Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-462

BeanManagedUserTransactionStrategy closes transaction even if it is called within EJB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 0.5
    • None
    • JPA-Module
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              struberg Mark Struberg
              struberg Mark Struberg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: