-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
In its current form, there is no easy way to initialize a secondary DataSource
the same way Spring Boot does via auto-configuration. For one org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer
is package private (and has the same name as a feature in the core framework). It also has this DataSourceInitializedEvent
that may (or may not) be relevant for a secondary DataSource
.
The basic features take a DataSource
and a DataSourceProperties
. Perhaps we should have a public contract that can be reused and use an internal extension for our specific use cases?
This prevents to complete the documentation update (see #7652)
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply