For example, test methods can be annotated with the regular Spring
@Transactional
annotation (e.g., to force execution in a read-only transaction) or with the
@NotTransactional annotation to prevent any
transaction being created at all. In addition, individual test methods can be
annotated with @Rollback to override the
default rollback settings.

The following list constitutes all annotations currently supported by
AbstractAnnotationAwareTransactionalTests:

isRollback()Deprecated. Determine whether or not to rollback transactions for the current test
by taking into consideration the
default rollback flag and a possible
method-level override via the @Rollback annotation.