Share a thread stack but recall some old issue we fixed or workarounded (hib is far to be bugfree ;) Le 8 janv. 2014 20:24, "Michiel De Smet" <[email protected]> a écrit :
> I'm not really sure that i can change any versions just like that... :) > > The application uses JEE5, I thought the version 4 only supports JEE6. It > runs fine on JBoss with that version of Hibernate. > > I don't really understand why it doesn't work with OpenEJB. > > Thanks anyway! > > > On Wed, Jan 8, 2014 at 5:45 PM, Romain Manni-Bucau <[email protected] > >wrote: > > > HI > > > > didnt check in details but maybe try to upgrade your hibernate version > > (IIRC hibernate-entitymanager 3.3 was working fine). > > > > btw your versions (openejb and hibernate) are pretty old and some bugs > > were fixed in this area. > > Romain Manni-Bucau > > Twitter: @rmannibucau > > Blog: http://rmannibucau.wordpress.com/ > > LinkedIn: http://fr.linkedin.com/in/rmannibucau > > Github: https://github.com/rmannibucau > > > > > > > > 2014/1/8 willie2 <[email protected]>: > > > Hi all, > > > > > > I'm using OpenEJB (3.1.4) and Hibernate (3.2.4.sp1) to test our > > application. > > > > > > The EJB container is successfully created. However we have some issues > > when > > > using entityManager.flush() (JTAEntityManagerImpl) or session.flush() > > > (hibernate). Either we get a > > javax.persistence.TransactionRequiredException: > > > no transaction is in progress (entityManager.flush()) or either the > code > > > hangs on this line if we use the hibernate session > > > ( > > > http://grepcode.com/file/repo1.maven.org/maven2/org.hibernate/hibernate/3.2.4.sp1/org/hibernate/impl/SessionImpl.java#1000 > > ). > > > > > > Any idea why this doesn't work or how I can make it work? > > > > > > > > > > > > > > > > > > > > > > > > -- > > > View this message in context: > > http://openejb.979440.n4.nabble.com/Hibernate-OpenEJB-tp4667050.html > > > Sent from the OpenEJB User mailing list archive at Nabble.com. > > >
