AnsweredAssumed Answered

Activiti5,hibernate,transaction[help]

Question asked by zhaokai on Jun 10, 2012
Latest reply on Jun 11, 2012 by ronald.van.kuijk
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

Outcomes