>From the Spec (2.0) 7.5 Controlling Transactions: An application-managed
entity manager may be either a JTA entity manager or a resource-local
entity manager.

On Tue, Oct 28, 2014 at 11:46 AM, Thomas Hug <thomas....@gmail.com> wrote:

> Hi Helge
> Hmmm wouldn't be aware of that. Sounds to me like "You can only use JTA
> with EJBs in CMT mode"? ;-) Have to check the spec.
> Anyway, don't think it's a DS issue - if you do the same in the
> EMResolver, it works fine. Maybe someone else has a better insight on the
> CDI side here.
>
> On Tue, Oct 28, 2014 at 11:27 AM, hwaastad <he...@waastad.org> wrote:
>
>> Hi TH,
>> I know it'll work using PersistenceUnit but then again are'nt I using a
>> resource_local em?
>>
>> I try to read the specs regarding JTA and somewhere I read: "You are not
>> allowed to use @PersistenceUnit to refer to a unit of type JTA"
>>
>> I will happily help debugging this issue, but I'm a little bit over my
>> head
>> when it comes to debugging DS code.
>>
>> If you have any recommendations, I'll start digging further.
>>
>> br hw
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/ContainerManagedTransactionStrategy-issue-tp4659285p4659287.html
>> Sent from the Apache DeltaSpike Incubator Discussions mailing list
>> archive at Nabble.com.
>>
>
>

Reply via email to