@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Transaction
Nested @Transaction annotations (e.g. one method calls another method, where both methods have this
annotation) are collapsed into a single transaction. If the outer method annotation specifies an isolation level,
then the inner method must either specify the same level, or not specify any level.
| Modifier and Type | Optional Element and Description |
|---|---|
TransactionIsolationLevel |
value |
public abstract TransactionIsolationLevel value
Copyright © 2016. All rights reserved.