1 Reply Latest reply on Dec 10, 2009 1:46 PM by kukeltje

    using jBPM 4.2 (Hibernate) with JPA on the same database

    misieq

      Hello,

      we are trying to integrate jBPM 4.2 into an existing application using JPA via Spring. The idea is to have jBPM database and our domain database on the same Oracle (10.0.2) instance. We have a JPA transaction manager configured in an 'annotation-driven' way (@Transactional annotation) in our existing configuration which conflicts with jBPM's hibernate transaction manager.
      After some research we have identified a few options (JTA, proxies, aspects, ...) and now we're trying to figure out which approach is the best. We suppose you may already have some experience in such configurations. Any ideas on where to start? What are the best practices in this case?
      We will appreciate any help.

      Greetings,
      Michal