Using Jboss 4.0.4 Hibernate 3.2.0 RC2
Maybe I have completly missed this but I want to use Container Managed transations in my application. Following the docs I used the following in hibernate-service.xml in my Hibernate Mbean. This is from the hibernate site
/docs and Jboss site/docs and diffrent places on-line, they all say to do
this.
Code:
<attribute name="TransactionStrategy">org.hibernate.transaction.CMTTransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">org.hibernate.transaction.JBossTransactionManagerLookup</attribute>
<attribute name="FlushBeforeCompletionEnabled">true</attribute>
<attribute name="AutoCloseSessionEnabled">true</attribute>
This throws an error every time, says TransactionStrategy is an invalid attribute.
Is this no longer needed, configured a diffrent way?
I must of missed something completly obvious.