Hello everyone:
I hava an application used hibernate to persistence.Now I want to use the activiti5.But there is problem.I need the hibernate and activiti5 use the same transaction.How can I do? I remember there is method in jbpm3 like:
JbpmContext context = jbpmConfiguration.createJbpmContext();
context.setSession(hibernateSession);
Is activiti5 has any method can achieve the same effect? I also used spring in this application.Can I configure the beans.xml or other configuration file to achieve the same effect? Please tell me the one or two way in detail.
Thanks everyone!
zhaokai