Le 6 août 2016 13:28, "nicolasduminil" <nicolas.dumi...@simplex-software.fr>
a écrit :
>
> I'm sorry but I read too fast the log file. What happened is that another
> exception is raised, but this one is related to my code.
>
> So finally, as opposed to what the documentation is saying, when used in a
> CMT context, the transaction strategy has to be configured *in the
> apache-deltaspike.properties file, and not in beans.xml*. And this is not
> only in the case of OpenWebBeans.
>

Sorry but I fail to see how doc is wrong here. Can you propose a rephrasing
please?

> Haleluiah, I got my answer. This issue is closed now. It wasn't that hard,
> was it ? What a shame that in order to get this simple answer we needed
all
> this smalltalk for nothing !
>
> But thank you anyway. And since I'm here, I would like to signal another
> important error in the documentation. In the Basic Usage chapter of the
JPA
> and the Data module, the  Non EE server and the EE server examples should
be
> inversed. Also, the EE server examples shouldn't try to manuallt close the
> EntityManager as this isn't allowed in a container.
>
> Kind regards,
>
> Nicolas
>
>
>
>
> --
> View this message in context:
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/A-JTA-EntityManager-cannot-use-getTransaction-tp4663224p4663236.html
> Sent from the Apache DeltaSpike Incubator Discussions mailing list
archive at Nabble.com.

Reply via email to