On Jul 15, 2008, at 6:11 AM, chawax wrote:
I finally could make it work with JBoss AS ... but it doesn't work
the same
as Open EJB !
On JBoss AS the getDelegate method returns Hibernate session, while it
returns Hibernate entity manager on Open EJB.
Congrats, glad you got it to work in
to EntityManager references
Is it intented or is it a bug ?
Olivier
--
View this message in context:
http://www.nabble.com/PersistenceContext-and-Hibernate-session-tp18404318p18404318.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
://www.nabble.com/PersistenceContext-and-Hibernate-session-tp18404318p18406052.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
:
java.lang.ClassCastException:
org.apache.openejb.persistence.JtaEntityManager
Is there a place where I could configure the entity manager to use
Hibernate
one instead of OpenEJB one ?
--
View this message in context:
http://www.nabble.com/PersistenceContext-and-Hibernate-session