Dec 7th, 2007, 12:43 PM
Sharing tx between Hibernate and OJB daos
Hi! We have a web application running with OJB, and now we're adding a business process manager that uses Hibernate for the DB access. How can I configure Spring to do all the OJB and Hibernate access within the same transaction? Maybe using 2 differents connections to the same DB thru JTA? (I've never used JTA, and I would like to NOT use it)...
I was trying to do that using a Hibernate session factory bound to a "DataSourceTransactionManager" datasource, but the OJB daos need it's own "PersistenceBrokerTransactionManager".
Thanks in advance!