Rollback (Spring Framework 3.2.1.RELEASE API)
Date: 2013-01-24

org.springframework.test.annotation

## Annotation Type Rollback

-     @Documented
      @Retention(value=RUNTIME)
      @Target(value=METHOD)
      public @interface Rollback

  Test annotation to indicate whether or not the transaction for the annotated test method should be rolled back after the test method has completed. If `true`, the transaction will be rolled back; otherwise, the transaction will be committed.
  Since:
    2.5
  Author:
    Sam Brannen

- - ### Optional Element Summary

    Optional Elements
    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.

- - ### Element Detail

    - #### value

          public abstract boolean value

      Whether or not the transaction for the annotated method should be rolled back after the method has completed.
      Default:
        true