Skip to content

Commit a160755

Browse files
committed
Merge branch '2.2.x' into 2.3.x
Closes gh-22748
2 parents c40835e + bfe250e commit a160755

File tree

1 file changed

+2
-3
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc

1 file changed

+2
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,9 +1967,8 @@ Make sure to disable `spring.jpa.hibernate.ddl-auto` if you use `schema.sql`.
19671967
spring.jpa.hibernate.ddl-auto=none
19681968
----
19691969
1970-
If you are using a <<spring-boot-features.adoc#howto-use-a-higher-level-database-migration-tool,Higher-level Database Migration Tool>>, like Flyway or Liquibase, you cannot use basic SQL scripts to create and initialize the schema.
1971-
In this situation, if `schema.sql` and `data.sql` are present, they will be ignored.
1972-
It is not possible to use a Database Migration Tool to manage schema creation, and a basic SQL script to initialize it.
1970+
If you are using a <<spring-boot-features.adoc#howto-use-a-higher-level-database-migration-tool,Higher-level Database Migration Tool>>, like Flyway or Liquibase, you should use them alone to create and initialize the schema.
1971+
Using the basic `schema.sql` and `data.sql` scripts alongside Flyway or Liquibase is not recommended and support will be removed in a future release.
19731972
====
19741973

19751974
By default, Spring Boot enables the fail-fast feature of the Spring JDBC initializer.

0 commit comments

Comments
 (0)