Annotation Type 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:
    TransactionRunListener
    • Optional Element Summary

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

      • 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