@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented public @interface BeforeTransaction
Test annotation to indicate that the annotated public void method
should be executed before a transaction is started for a test method
configured to run within a transaction via the @Transactional annotation.
The @BeforeTransaction methods of superclasses will be executed
before those of the current class.
As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations.
Transactional,
AfterTransaction