Announcement Announcement Module
Collapse
No announcement yet.
Sharing tx between Hibernate and OJB daos Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X