Example usage for Java org.springframework.transaction.annotation Propagation fields, constructors, methods, implement or subclass
The text is from its open source code.
Propagation | REQUIRED Support a current transaction, create a new one if none exists. |
Propagation | SUPPORTS Support a current transaction, execute non-transactionally if none exists. |
Propagation | MANDATORY Support a current transaction, throw an exception if none exists. |
Propagation | REQUIRES_NEW Create a new transaction, and suspend the current transaction if one exists. |
Propagation | NOT_SUPPORTED Execute non-transactionally, suspend the current transaction if one exists. |
Propagation | NEVER Execute non-transactionally, throw an exception if a transaction exists. |
Propagation | NESTED Execute within a nested transaction if a current transaction exists, behave like REQUIRED otherwise. |
int | value |