Hi Helge,
Not sure what's wrong with the EM producer. Some CDI side effect maybe?
Anyway, if you use an EntityManagerFactory in the producer, the sample goes
green again.

On Tue, Oct 28, 2014 at 9:40 AM, hwaastad <he...@waastad.org> wrote:

> Hi,
> I need some help understanding how Deltaspike handles entitymanager lookup.
> (I've made this post since the issue I've been struggeling with these last
> couple og days actually are a result on how DS is handling CMT)
>
> I've made a test project: https://github.com/hwaastad/DeltaDataTest.git
> - JTA in persistence.xml
> - CMT em producer
> - ContainerManagedTransactionStrategy in beans.xml
>
> This is a simple MDB persisting a dummy entity.
>
> 1. save(entity) will fail
> 2. findall() and the save(entity) is working.
>
> Why is 1. failing?
>
> br hw
>
>
>
> --
> View this message in context:
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/ContainerManagedTransactionStrategy-issue-tp4659285.html
> Sent from the Apache DeltaSpike Incubator Discussions mailing list archive
> at Nabble.com.
>

Reply via email to