deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: @Transactional with DeltaSpike/JPA/Hibernate
Date Tue, 10 Mar 2015 17:18:14 GMT
hi deven,

if you follow [1], please use
@org.apache.deltaspike.jpa.api.transaction.Transactional

regards,
gerhard

[1] https://deltaspike.apache.org/documentation/jpa.html

http://www.irian.at

Your JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache
MyFaces, DeltaSpike and OpenWebBeans

2015-03-10 18:17 GMT+01:00 l.penet@senat.fr <l.penet@senat.fr>:

> On 10/03/2015 18:07, Deven Phillips wrote:
>
>> So, I followed the instructions on
>> https://deltaspike.apache.org/documentation/jpa.html
>>
>> I even added the interceptor to the beans.xml file. I tried setting
>> @Transactional(Transactional.TxType.REQUIRED). Regardless, I get:
>>
>> ERROR ToDoDAO Error getting ToDo list
>> javax.persistence.TransactionRequiredException: no transaction is in
>> progress
>>
> Well, I can tell you it works as I use it with several EntityManager(s)
> (and that is very handy) ;-).
>
> I guess a sample case will help us help you.
>
> Ludovic
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message