Java org.springframework.transaction.annotation Propagation fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.transaction.annotation Propagation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.transaction.annotation Propagation.

The text is from its open source code.

Field

PropagationREQUIRED
Support a current transaction, create a new one if none exists.
PropagationSUPPORTS
Support a current transaction, execute non-transactionally if none exists.
PropagationMANDATORY
Support a current transaction, throw an exception if none exists.
PropagationREQUIRES_NEW
Create a new transaction, and suspend the current transaction if one exists.
PropagationNOT_SUPPORTED
Execute non-transactionally, suspend the current transaction if one exists.
PropagationNEVER
Execute non-transactionally, throw an exception if a transaction exists.
PropagationNESTED
Execute within a nested transaction if a current transaction exists, behave like REQUIRED otherwise.
intvalue