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:13:15 GMT
Hi,

I would say the class is scanned properly:



Also I should mention that I do tomee.jpa.factory.lazy=true to prevent
'java.lang.IllegalStateException: On a thread without an initialized context
nor a classloader mapping a deployed app'.

Thanks,
Hynek



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

Mime
View raw message