Example usage for Java org.springframework.transaction.support DefaultTransactionDefinition fields, constructors, methods, implement or subclass
The text is from its open source code.
String | PREFIX_ISOLATION Prefix for the isolation constants defined in TransactionDefinition. |
Constants | constants Constants instance for TransactionDefinition. |
DefaultTransactionDefinition() Create a new DefaultTransactionDefinition, with default settings. | |
DefaultTransactionDefinition(TransactionDefinition other) Copy constructor. | |
DefaultTransactionDefinition(int propagationBehavior) Create a new DefaultTransactionDefinition with the given propagation behavior. |
String | getName() |
void | setIsolationLevel(int isolationLevel) Set the isolation level. |
void | setName(String name) Set the name of this transaction. |
void | setPropagationBehavior(int propagationBehavior) Set the propagation behavior. |
void | setPropagationBehaviorName(String constantName) Set the propagation behavior by the name of the corresponding constant in TransactionDefinition, e.g. |
void | setReadOnly(boolean readOnly) Set whether to optimize as read-only transaction. |
void | setTimeout(int timeout) Set the timeout to apply, as number of seconds. |