tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hynek <hynek.cih...@gmail.com>
Subject Re: EntityManager/EntityManagerFactory not injected to CDI bean
Date Wed, 08 Feb 2017 13:40:31 GMT
Romain Manni-Bucau wrote
> if it helps here is a test with your code which works (tested with
> 7.0.3-SNAPSHOT):
> https://gist.github.com/rmannibucau/4acf9033372aceb2ae97a6986f40c4b7

Thanks for the unit test. I can confirm it works OK in my environment, too.
Is there anything else I can check to figure out why the same code doesn't
produce the expected result in the real environment? Could it be the
packaging structure that is causing trouble (jar, war in an ear)?



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/EntityManager-EntityManagerFactory-not-injected-to-CDI-bean-tp4681031p4681043.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message