Shane Tom created DELTASPIKE-1244: ------------------------------------- Summary: Transactions and CustomRepositories do not work Key: DELTASPIKE-1244 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1244 Project: DeltaSpike Issue Type: Bug Components: Data-Module Affects Versions: 1.7.2 Environment: Wildfly 10.1, Java 8 , JEE Application Reporter: Shane Tom Priority: Critical Attachments: deltaspike_data_Error_Testcase.txt
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 -- This message was sent by Atlassian JIRA (v6.3.15#6346)