|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=CONSTRUCTOR) public @interface TransactionalConstructor
Annotation that can be placed on constructor. There is a lot of overlap with the TransactionalMethod
annotation, but the big difference is that transactions on constructors can't be retried. So everything related
to retrying has been removed.
| Optional Element Summary | |
|---|---|
boolean |
readonly
If the TransactionalConstructor should be readonly or an update. |
TraceLevel |
traceLevel
With the TraceLevel you can see what is happening inside a transaction. |
boolean |
trackReads
If the transaction automatically should track reads. |
boolean |
writeSkew
If the write skew problem is allowed to happen. |
public abstract boolean readonly
public abstract boolean trackReads
public abstract boolean writeSkew
public abstract TraceLevel traceLevel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||