-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
status: noteworthyA noteworthy issue to call out in the release notesA noteworthy issue to call out in the release notestype: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
In my project I have mariadb and h2 dependencies and data.sql
/schema.sql
.
For development h2 is used, a 'dev' profile is used without spring.datasource.*
properties and a 'prod' profile sets the properties for mariadb.
Before Spring Boot 2.5.0 the behaviour was to use schema.sql
and data.sql
for h2, but not for mariadb.
In Spring Boot 2.5.0 the schema.sql
and data.sql
are executed on each application start/reload.
While this change is surprising there may be good reasons for it, but it should be documented in a prominent manner, as it could lead to problems with production data.
Metadata
Metadata
Assignees
Labels
status: noteworthyA noteworthy issue to call out in the release notesA noteworthy issue to call out in the release notestype: regressionA regression from a previous releaseA regression from a previous release