You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Andi Abes <aa...@progress.com> on 2009/02/20 19:59:57 UTC

Hibernate w/o JTA?

I'm trying to use ODE + Oracle in Tomcat.
It seems to be complaining about not having JTA available:

java.lang.AbstractMethodError:
org.apache.ode.daohib.HibernateTransactionManagerLookup.getTransactionId
entifier(Ljavax/transaction/Transaction;)Ljava/lang/Object;
        at
org.hibernate.context.JTASessionContext.currentSession(JTASessionContext
.java:104)
        at
org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryIm
pl.java:574)


Configuring Hibernate for JDBC transaction management doesn't sound
quite right though, since it will then use thread context to decide
session/transaction association...

Is that configuration supported for ODE/Hibernate - using JDBC based
transactions?

TIA,
A.