cancel
Showing results for 
Search instead for 
Did you mean: 

Example Spring Configuration for TransactionManager required

ollib
Champ in-the-making
Champ in-the-making
Hi,

handling transactions in Activiti seems to be a huge problem for many Activiti newcomers.

Can you please give us a complete example on how to handle transactions with Spring?

My use case would be:
- Workflow references JPA entity as a process variable
- I want to save JPA entity and complete an Activiti task in the same transaction (and rollback the transaction if necessary).

In my application, i only get control over the JPA entity transaction.

Thank you for your help!

Best regards
Oliver
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi Oliver,

Which JPA provider are you using? Hibernate?
Yes it makes sense to create such an example, I'll try to work on that for my blog.

Best regards,

ollib
Champ in-the-making
Champ in-the-making
Yes, Hibernate. Thank you very much for your help!

ollib
Champ in-the-making
Champ in-the-making
Hi Tijs,

have you had the opportunity to see to the configuration problem?

Best regards
Oliver

trademak
Star Contributor
Star Contributor
Hi Oliver,

Not yet, didn't have time to do it yet. But it's still on my todo list.