cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti5,hibernate,transaction[help]

zhaokai
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Read the docs about transactions. Use e.g. JTA…
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.