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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -