@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Rollback
true
, the transaction will be rolled back;
otherwise, the transaction will be committed.Modifier and Type | Optional Element and Description |
---|---|
boolean |
value
Whether or not the transaction for the annotated method should be rolled
back after the method has completed.
|