diff --git a/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java b/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java index e982f4215f1..8bab99cead2 100644 --- a/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java +++ b/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java @@ -127,9 +127,8 @@ public class SqlScriptsTestExecutionListener extends AbstractTestExecutionListen * Execute the SQL scripts configured via the supplied {@link Sql @Sql} * annotation for the given {@link ExecutionPhase} and {@link TestContext}. * - *

Special care must be taken in order to properly support the - * {@link Sql#requireNewTransaction requireNewTransaction} - * flag. + *

Special care must be taken in order to properly support the configured + * {@link SqlConfig#transactionMode}. * * @param sql the {@code @Sql} annotation to parse * @param executionPhase the current execution phase