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.
Note: I'm aware that application will not be compliant with JPA and another JPA provider can not be used.
Regarding transactions see Activiti Spring Transaction Docs. If you cannot port your application to use JPA, another option is to layer a facade over your Hibernate domain. Activiti allows you to invoke methods on spring managed beans, so you could create a facade or utilize an existing service layer. Take a look at the sample applications that ship with Activity to see how the spring integration works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With