-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Separate auto-configuration of script-based DataSource initialization from the auto-configuration of the DataSource #25323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This issue is noteworthy as all of the |
Re-opening to include |
Am I missing something, or does this change make things more complicated for a pretty common scenario? Or maybe the |
Currently, the auto-configuration of script-based
DataSource
initialization is intermingled with the auto-configuration of theDataSource
itself. This means that thespring.datasource.*
properties are a mixture of those that are used to create theDataSource
and those that are then used to initialise it using DDL and DML scripts. We should separate out the auto-configuration and the properties that are specific to our script-based initialization.In addition to making it clearer which properties are for initialization and which are for general data source configuration, this will align the structure of the auto-configuration for our script-based initialization with how things are structured for Flyway and Liquibase.
The text was updated successfully, but these errors were encountered: