@Sql
.See: Description
Class | Description |
---|---|
SqlScriptsTestExecutionListener |
TestExecutionListener that provides support for executing SQL scripts
configured via the @Sql annotation. |
Enum | Description |
---|---|
Sql.ExecutionPhase |
Enumeration of phases that dictate when SQL scripts are executed.
|
SqlConfig.ErrorMode |
Enumeration of modes that dictate how errors are handled while
executing SQL statements.
|
SqlConfig.TransactionMode |
Enumeration of modes that dictate whether SQL scripts should be
executed within a transaction and what the transaction propagation behavior
should be.
|
Annotation Type | Description |
---|---|
Sql |
@Sql is used to annotate a test class or test method to configure SQL
scripts to be executed against a given database during integration tests. |
SqlConfig |
@SqlConfig defines metadata that is used to determine how to parse
and execute SQL scripts configured via the @Sql annotation. |
SqlGroup |
Container annotation that aggregates several
@Sql annotations. |
@Sql
.