• Phillip Webb's avatar
    Refactor DataSourceBuilder and add derivedFrom · 85f1e2c9
    Phillip Webb authored
    Refactor `DataSourceBuilder` to use direct property mappers rather than
    the `Binder` and aliases. Supported DataSource types now include two-way
    mappers which allows us to both get and set properties in a uniform way.
    
    A new `derivedFrom` factory method has been added which allows a new
    `DataSource` to be derived from an existing one. This update is
    primarily to allow Flyway and Liquibase migrations to work against a
    `@Bean` configured DataSource rather than assuming that the primary
    DataSource was always created via auto-configuration.
    
    See gh-25643
    85f1e2c9
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...