Re: TomEE 7.0.0 does not support UNSYNCHRONIZED PersistenceContext

2015-10-26 Thread Romain Manni-Bucau
Hi Donatas, did you check the entitymanager hibernate was providing you? Container only handles createEntityManager() call and SynchronizationType is now wired. Romain Manni-Bucau @rmannibucau | Blog | Github

Re: TomEE 7.0.0 does not support UNSYNCHRONIZED PersistenceContext

2015-10-26 Thread Romain Manni-Bucau
yes, issue was auto joining of the tx for stateful entity managers. Has been fixed as well but probably not yet propagated to the snapshot binaries. Now this test passes: @RunWith(ApplicationComposer.class) @Descriptors({ @Descriptor(name = "persistence.xml", path =

Re: TomEE 7.0.0 does not support UNSYNCHRONIZED PersistenceContext

2015-10-26 Thread DonatasCiuksys
Hi Romain, I checked with apache-tomee-7.0.0-20151026.041031-164-webprofile.zip and Hibernate 5.0.2, the bug is still present... Donatas -- View this message in context:

Re: TomEE 7.0.0 does not support UNSYNCHRONIZED PersistenceContext

2015-10-26 Thread DonatasCiuksys
Image below shows info on em.getDelegate(): -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/TomEE-7-0-0-does-not-support-UNSYNCHRONIZED-PersistenceContext-tp4676564p4676608.html Sent from the

Re: TomEE 7.0.0 does not support UNSYNCHRONIZED PersistenceContext

2015-10-26 Thread DonatasCiuksys
Well, entityManager instance if of class JtaEntityManager, synchronizationType = UNSYNCHRONIZED, extended = true: Should I also check em.getDelegate()? -- View this message in context: