[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981092#comment-15981092
 ] 

John D. Ament commented on DELTASPIKE-1244:
-------------------------------------------

[~shanetom] I suspect you're actually running into problem addressed by the 
notes found at http://deltaspike.apache.org/documentation/jpa.html#JTASupport . 
 Basically for wildfly, you need to enable one of the two other transaction 
strategies.

> 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
>         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)

Reply via email to