Hi all,

I'm used to use Hibernate + OpenEJB.
To avoid classloading issues for end users, I'm created an hibernate profile
to create an OpenEJB webapp using Hibernate instead of OpenJPA.

It's works fine with JPA on top of Hibernate.
To be honest, never tried only with Hibernate.

That's definitely possible.
One point, the JTA transaction factory should not be set as you already
discovered. The default value is ok.
The transaction manager lookup is enough. By the way, if you use JPA and the
persistence.xml file, you don't also need to set the transaction manager
lookup because OpenEJB while set it for you when it discovers the
persistence provider.

Anyway, I don't know if that is possible for you, but it would be really
easier to get a simple example.
Is it something possible for you?
If you can provide a small example (maven project to create the war file), i
can definitely have a look and try to give you more hints.

Jean-Louis
-- 
View this message in context: 
http://openejb.979440.n4.nabble.com/Transaction-Problems-with-OpenEJB-Hibernate-on-Tomcat-tp1011003p3244776.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to