Skip to content

Commit 2323c7a

Browse files
committed
Merge branch '3.1.x'
Closes gh-38496
2 parents 9b6a614 + 74239ad commit 2323c7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ While we do not recommend using multiple data source initialization technologies
6262
This will defer data source initialization until after any `EntityManagerFactory` beans have been created and initialized.
6363
`schema.sql` can then be used to make additions to any schema creation performed by Hibernate and `data.sql` can be used to populate it.
6464

65+
NOTE: The initialization scripts support `--` for single line comments and `/++*++ ++*++/` for block comments.
66+
Other comment formats are not supported.
67+
6568
If you are using a <<howto#howto.data-initialization.migration-tool,Higher-level Database Migration Tool>>, like Flyway or Liquibase, you should use them alone to create and initialize the schema.
6669
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.
6770

0 commit comments

Comments
 (0)