Showing posts with label transaction. Show all posts
Showing posts with label transaction. Show all posts

rolling back transaction

Annotating the method with the following:

@Transactional(readOnly=false, propagation=Propagation.NESTED)

will cause the transaction to wait until all sub transaction is completed. If any of the sub transaction fails, the global transaction will fail as well causing everything to be rolled back

Older Posts Home

Blogger Template by Blogcrowds