Annotation Type Rollback
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface Rollback
If you annotate your exception with this annotation, the transactional interceptor will use the exception's instructions to force a rollback or not.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanvalueSpecify whether the annotated exception should cause a rollback or not.
-