I'd like to replace custom BPM implementation with Activiti or jBPM-5 in a product which uses Hibernate (No JPA) with Spring for persistent layer implementation. Unfortunately, both Activiti and jBPM5 require JPA(according to their documentation) and it is not possible to migrate all existing Hibernate implementation to JPA in the product.
- Is there a way to configure JPA 2.0(JPA provider is Hibernate) with Spring 3 without migrating Hibernate implementation to JPA (i.e. retain .hbm files) ?
Note: I'm aware that application will not be compliant with JPA and another JPA provider can not be used.
- If there is way, assume Spring JTA transaction manager is configured with proper settings. can application logic and BPM workflow logic be executed in a single Spring transaction?