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.

Reply via email to