is it possible to use activiti together with hibernate instead of mybatis? The case is that our actual project uses hibernate as persistence framework and we use jbpm 3 for the processes. In jbpm 3, it was possible to use a single hibernate session, so we get some benefits. Now we think about migration to activiti because the architecture is very great (spring, services, etc.), but on researching I found out that activiti uses mybatis for the persistence.
Is it possible that we can do the same things with activiti as with jbpm 3, regarding the persistence? And if it is possible, what I need to do, to get it work.
EDIT: I solve it for my needs and posted my soloution in the activiti forum for everyone who has the same problem like I had. in short: sharing the session is not possible, but you can use the same transaction manager which helps you to rollback if an error occur.
Greetz cookie-exploit
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