public abstract @interface

BeforeTransaction

implements Annotation
org.springframework.test.context.transaction.BeforeTransaction

Class Overview

Test annotation to indicate that the annotated public void method should be executed before a transaction is started for test methods configured to run within a transaction via the @Transactional annotation.

The @BeforeTransaction methods of superclasses will be executed before those of the current class.

See Also

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation