Skip to content

Commit 9c417d2

Browse files
committed
Merge branch '2.3.x'
Closes gh-22749
2 parents 0e83b2f + a160755 commit 9c417d2

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -1957,9 +1957,8 @@ Make sure to disable `spring.jpa.hibernate.ddl-auto` if you use `schema.sql`.
19571957
spring.jpa.hibernate.ddl-auto=none
19581958
----
19591959
1960-
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.
1961-
In this situation, if `schema.sql` and `data.sql` are present, they will be ignored.
1962-
It is not possible to use a Database Migration Tool to manage schema creation, and a basic SQL script to initialize it.
1960+
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.
1961+
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.
19631962
====
19641963

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

0 commit comments

Comments
 (0)