I would like to replace my own BPM implementation with Activiti or jBPM-5 in a product that uses Hibernate (No JPA) with Spring to implement a persistent level. Unfortunately, both Activiti and jBPM5 require JPA (according to their documentation), and it is not possible to transfer the entire existing Hibernate implementation to JPA in the product.
- Is there a way to configure JPA 2.0 (the JPA provider is Hibernate) with Spring 3 without migrating the Hibernate implementation to JPA (i.e. save .hbm files)?
Note. I know that the application will not comply with the JPA, and another JPA provider cannot be used.
- If there is a way, suppose the Spring JTA Transaction Manager is configured with the correct settings. Can application logic and BPM workflow logic run in the same Spring transaction?
Sujee
source share