You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
In its current form, there is no easy way to initialize a secondary
DataSource
the same way Spring Boot does via auto-configuration. For oneorg.springframework.boot.autoconfigure.jdbc.DataSourceInitializer
is package private (and has the same name as a feature in the core framework). It also has thisDataSourceInitializedEvent
that may (or may not) be relevant for a secondaryDataSource
.The basic features take a
DataSource
and aDataSourceProperties
. 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)
The text was updated successfully, but these errors were encountered: