if it helps here is a test with your code which works (tested with
7.0.3-SNAPSHOT):
https://gist.github.com/rmannibucau/4acf9033372aceb2ae97a6986f40c4b7


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-02-08 14:18 GMT+01:00 Hynek <[email protected]>:

> Romain Manni-Bucau wrote
> > Also is your unit a resource local one or jta one?
>
> The unit is jta.
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/EntityManager-EntityManagerFactory-not-injected-to-CDI-bean-
> tp4681031p4681040.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to