Example usage for Java org.springframework.transaction.interceptor RuleBasedTransactionAttribute fields, constructors, methods, implement or subclass
The text is from its open source code.
RuleBasedTransactionAttribute() Create a new RuleBasedTransactionAttribute, with default settings. |
List | getRollbackRules() Return the list of RollbackRuleAttribute objects (never null ). |
boolean | rollbackOn(Throwable ex) Winning rule is the shallowest rule (that is, the closest in the inheritance hierarchy to the exception). |
void | setIsolationLevelName(String constantName) Set the isolation level by the name of the corresponding constant in TransactionDefinition, e.g. |
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 | setRollbackRules(List Set the list of RollbackRuleAttribute objects (and/or NoRollbackRuleAttribute objects) to apply. |
void | setTimeout(int timeout) Set the timeout to apply, as number of seconds. |