Joined: Wed May 18, 2005 4:26 pm Posts: 6
|
Why is javax.transaction.* required when second-level cache is disabled? I am using Tomcat and I can not distribute jta.jar with the application.
related hibernate.cfg.xml props:
<property name="hibernate.cache.use_query_cache">false</property>
<property name="hibernate.cache.use_second_level_cache">false</property>
Exception:
java.lang.NoClassDefFoundError: javax/transaction/Synchronization
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
at com.weblayers.core.hibernate.HibernateManager.<clinit>(HibernateManager.java:93)
TIA,
Matt.
|
|