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

Transactions and CustomRepositories do not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.7.2
    • None
    • Data-Module
    • None
    • Wildfly 10.1, Java 8 , JEE Application

    Description

      A custom Repository implemented in the form:

      @org.apache.deltaspike.jpa.api.transaction.Transactional
      @Repository(forEntity = TestEntity.class)
      public abstract class ExtendedCustomTestRepo extends AbstractEntityRepository

      Cannot be used in an CDI Bean, that uses Transaction. If doing so, an Exception is thrown: UserTransaction is not available within the scope of a bean or method annotated with @Transactional.

      I Attached the Testcase as a Textfile

      Attachments

        Activity

          People

            Unassigned Unassigned
            shanetom Shane Tom
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: