Activiti 5.9 using sleep mode?

Can activiti be used with hibernate instead of mybatis? The fact is that our actual project uses hibernation as the basis of persistence, and we use jbpm 3 for processes. In jbpm 3, you could use one hibernation session, so we get some advantages. Now we are thinking about migration to activiti, because the architecture is very large (spring, services, etc.), But when researching, I found out that activiti uses mybatis for conservation.

Is it possible that we can do the same with activation as with jbpm 3, with respect to conservation? And if possible, what I need to do to get it to work.

EDIT: I solve it for my needs and posted my solution in the forum for everyone who has the same problem as mine. In short, session sharing is not possible, but you can use the same transaction manager to help you roll back if an error occurs.

Greetz cookie-exploit

+5
source share
1 answer
  • mybatis can use the same transaction manager as hibernate (if both work under the Spring Framework)
  • mybatis will not be able to participate in a Hibernate session
+1
source

All Articles