-
Dec 7th, 2007, 12:43 PM
#1
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!
Horacio
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules