File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
framework-docs/modules/ROOT/pages/testing/testcontext-framework
spring-test/src/main/java/org/springframework/test/context/jdbc Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ individual attributes in {api-spring-framework}/test/context/jdbc/Sql.html[`@Sql
387
387
{api-spring-framework}/test/context/jdbc/SqlConfig.html[`@SqlConfig`] for details.
388
388
389
389
[[testcontext-executing-sql-declaratively-tx]]
390
- * Transaction management for `@Sql`*
390
+ ==== Transaction management for `@Sql`
391
391
392
392
By default, the `SqlScriptsTestExecutionListener` infers the desired transaction
393
393
semantics for scripts configured by using `@Sql`. Specifically, SQL scripts are run
Original file line number Diff line number Diff line change 55
55
* annotation. Otherwise, {@link SqlGroup @SqlGroup} can be used as an explicit
56
56
* container for declaring multiple instances of {@code @Sql}.
57
57
*
58
- * <p>This annotation may be used as a <em>meta-annotation</em> to create custom
59
- * <em>composed annotations</em> with attribute overrides.
60
- *
61
- * <p>As of Spring Framework 5.3, this annotation will be inherited from an
62
- * enclosing test class by default. See
58
+ * <p>This annotation will be inherited from an enclosing test class by default. See
63
59
* {@link org.springframework.test.context.NestedTestConfiguration @NestedTestConfiguration}
64
- * for details.
60
+ * for details. This annotation may also be used as a <em>meta-annotation</em> to
61
+ * create custom <em>composed annotations</em> with attribute overrides.
65
62
*
66
63
* <p>Use of this annotation requires the {@code spring-jdbc} and {@code spring-tx}
67
64
* modules as well as their transitive dependencies to be present on the classpath.
You can’t perform that action at this time.
0 commit comments