Skip to content

Separate auto-configuration of script-based DataSource initialization from the auto-configuration of the DataSource #25323

Closed
@wilkinsona

Description

@wilkinsona

Currently, the auto-configuration of script-based DataSource initialization is intermingled with the auto-configuration of the DataSource itself. This means that the spring.datasource.* properties are a mixture of those that are used to create the DataSource 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions