- Spring Boot 2.0 Projects
- Mohamed Shazin Sadakath
- 57字
- 2021-08-13 16:00:11
Using the changed default database initialization strategy
With Spring Boot 2.0, the default basic DataSource initialization is only enabled for embedded databases and will be disabled as soon as a production database is used. The configuration property spring.datasource.initialization-mode (with values always or never), which replaces the old spring.datasource.initialize configuration property, can be used for more control.