Hi Lou,
i've been watching your post and there's something i don't understand. Why did you use
<property name="hibernate.transaction.manager_lookup_class">
net.sf.hibernate.transaction.WeblogicTransactionMa nagerLookup
</property>
in hibernate's configuration?
If i use in hibernatel.cfg.xml
Code:
<property name="hibernate.transaction.factory_class">
net.st.hibernate.transaction.JTATransactionFactory
</property>
and in applicationContext.xml
Code:
<bean id="myDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName"><value>jdbc/myDataSource</value></property>
</bean>
<bean id="mySessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean">
<property name="dataSource">
<ref local="myDataSource"/>
</property>
<property name="configLocation">
<value>classpath:hibernate.cfg.xml</value>
</property>
</bean>
won't i be able to delegate transaction demarcation to the one declared in my CMT Beans?