Annotation Interface Transactional


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Inherited @Documented public @interface Transactional
Marks a test method or class as transactional. If TransactionRunListener is activated, the test will be runed within a scope of a transaction and in default rollbacked at end.
Since:
3.0-u3
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    The "delayed store" feature enables you to delay all item modifications until the end of the transaction.
    boolean
    If set, no rollback will be done at the end of the test.
  • Element Details

    • enableDelayedStore

      boolean enableDelayedStore
      The "delayed store" feature enables you to delay all item modifications until the end of the transaction.
      Returns:
      will the delayed store be enabled?
      Default:
      false
    • noRollback

      boolean noRollback
      If set, no rollback will be done at the end of the test. Instead a commit will be performed.
      Returns:
      will a commit be performed at end of test?
      Default:
      false