Yep, but have to admit I was hoping they fix it since they don't have any blocker for it. Note they have the same issue with a 2 scan passes fragile workaround in wildfly. If you are motivated enough there is this long thread dealing a bit with it on https://issues.jboss.org/browse/WFLY-2387 (note the solution doesnt work for cdi/jpa but makes things less deterministic and if you add other specs it is worse :(). If you are in a hurry check out https://hibernate.atlassian.net/browse/HHH-10477 and https://hibernate.atlassian.net/browse/HHH-8706 which ares supposed to solve the issue without requiring anything from our part except setting hibernate.delay_cdi_access. Not yet sure why they don't set the default to work. I'm tempted to say users should push on hibernate bugtracker to get it fixed on the long term (set the setting to true by default instead of false). But if it persist for too much versions we can set it ourself.
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-03-10 19:54 GMT+01:00 agumbrecht <[email protected]>: > Maybe it's possible where this is evaluated to make an attempt to detect > hibernate and then set it automatically to true unless the property exists > as false. > > > > ----- > -- > Andy Gumbrecht > > http://www.tomitribe.com > [email protected] > https://twitter.com/AndyGeeDe > > TomEE treibt Tomitribe ! | http://tomee.apache.org > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/VOTE-Apache-TomEE-7-0-3-tp4681228p4681276.html > Sent from the TomEE Dev mailing list archive at Nabble.com. >
