Annotations @Transactional (propagation = Propagation.NOT_SUPPORTED) Propagation properties
Propagation Properties | outMethod() | innerMethod |
---|---|---|
Propagation.MANDATORY | .Throw an exception | Run the Transaction in the outMethod |
Propagation.NEVER | . Transaction is not running | .Throw an exception |
Propagation.NOT_SUPPORTED | . Transaction is not running | .outMethod suspended until the Transaction is finished innerMethod |
Propagation.REQUIRED (default value) | The new open and runs a Transaction | Run the Transaction in the outMethod |
Propagation.REQUIRES_NEW | The new open and runs a Transaction | .outMethod the Transaction suspended until innerMethod in the newly opened Transaction is finished |
Propagation.SUPPORTS | . Transaction is not running | Run the Transaction in the outMethod |