Activiti + spring + transaction + rollback -


i want test integration of spring , activiti, stuck confusing problem. have workflow 2 service task (using jpa repository saveandflush method update database) , b

in service a, actively throw new exception , transaction rollbacks, , flow stops. well, it's okay.

however, how can rollback service , flow continue service b? because if service throws exception, flow stopped, , if exception caught ( flow continues), service not rollback.

i use jpa repository automatically handle transaction, change manual mode take lot of efforts now.

probably need new transaction every service in flow , catch exception.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -