public interface RollbackConfiguration
Note that the Unit of Work will always throw any exceptions raised during processing, regardless of whether or not the Unit of Work is rolled back.
Modifier and Type | Method and Description |
---|---|
boolean |
rollBackOn(Throwable throwable)
Decides whether the given
throwable should trigger a rollback. |
boolean rollBackOn(Throwable throwable)
throwable
should trigger a rollback.throwable
- the Throwable to evaluatetrue
if the UnitOfWork should be rolled back, false
otherwiseCopyright © 2010–2017. All rights reserved.