spring-framework / org.springframework.test.context.jdbc / Sql / statements

statements

val statements: Array<String>

Inlined SQL statements to execute.

This attribute may be used in conjunction with or instead of #scripts.

Ordering

Statements declared via this attribute will be executed after statements loaded from resource #scripts. If you wish to have inlined statements executed before scripts, simply declare multiple instances of @Sql on the same class or method.

Since
4.2

See Also
#scripts