@CompileStatic @InheritConstructors @Slf4j class GrailsTransactionAttribute extends RuleBasedTransactionAttribute
Used to configure a GrailsTransactionTemplate
| Fields inherited from class | Fields |
|---|---|
class RuleBasedTransactionAttribute |
PREFIX_ROLLBACK_RULE, PREFIX_COMMIT_RULE, PROPAGATION_REQUIRED, PROPAGATION_SUPPORTS, PROPAGATION_MANDATORY, PROPAGATION_REQUIRES_NEW, PROPAGATION_NOT_SUPPORTED, PROPAGATION_NEVER, PROPAGATION_NESTED, ISOLATION_DEFAULT, ISOLATION_READ_UNCOMMITTED, ISOLATION_READ_COMMITTED, ISOLATION_REPEATABLE_READ, ISOLATION_SERIALIZABLE, TIMEOUT_DEFAULT, PREFIX_PROPAGATION, PREFIX_ISOLATION, PREFIX_TIMEOUT, READ_ONLY_MARKER |
| Type | Name and description |
|---|---|
boolean |
inheritRollbackOnly |
| Constructor and description |
|---|
GrailsTransactionAttribute(TransactionAttribute other) |
GrailsTransactionAttribute(TransactionDefinition other) |
GrailsTransactionAttribute(GrailsTransactionAttribute other) |
GrailsTransactionAttribute(RuleBasedTransactionAttribute other) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
isInheritRollbackOnly() |
|
boolean |
rollbackOn(java.lang.Throwable ex) |
|
void |
setInheritRollbackOnly(boolean inheritRollbackOnly) |
| Methods inherited from class | Name |
|---|---|
class RuleBasedTransactionAttribute |
equals, getClass, getDescriptor, getIsolationLevel, getLabels, getName, getPropagationBehavior, getQualifier, getRollbackRules, getTimeout, getTimeoutString, hashCode, isReadOnly, notify, notifyAll, resolveAttributeStrings, rollbackOn, setDescriptor, setIsolationLevel, setIsolationLevelName, setLabels, setName, setPropagationBehavior, setPropagationBehaviorName, setQualifier, setReadOnly, setRollbackRules, setTimeout, setTimeoutString, toString, wait, wait, wait |