Beginner |
|
Joined: Wed Mar 14, 2007 10:19 am Posts: 24
|
Is there any case that in your hibernate.cfg.xml you have set a value
related to JTA for the properties:
transaction.manager_lookup_class or hibernate.transaction.factory_class?
Do you want to use JTA?
I haven't use weblogic, but I have used Hibernate with Tomcat, so I have used JTA for this case and in my hibernate.cfg.xml I have set:
<property name="hibernate.transaction.manager_lookup_class"> org.hibernate.transaction.JOTMTransactionManagerLookup</property>
Here you should use a transactionManagerLookUp that is supported by weblogic.
<property name="hibernate.transaction.factory_class">
org.hibernate.transaction.JTATransactionFactory</property>
Let me know if this helped.
|
|