Annotation Type TestTransaction


  • @InterceptorBinding
    @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    public @interface TestTransaction
    Indicates that this method should be run in a rollback only JTA transaction. This allows the test method to modify the database as required, and then have these changes reverted at the end of the method.
    See Also:
    for reactive transaction