-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Document DataSource implementations supported by DataSourceBuilder #25333
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
Please could this also be added to the release notes? I just hit this issue and couldn't find an indication that the behaviour had changed from the upgrade notes. |
What issue did you hit exactly? Please also review #25263 (comment) |
It was the issue described in that linked comment in that the |
@tinselspoon this infrastructure is meant to be used only with the DataSource implementations that Spring Boot supports officially and See #25363 |
Spring Boot supports a number of DataSources using
DataSourceProperties
but the level of support is not the same. Some datasources have dedicated support (with fine-grained properties support) and we have a best effort support for others if the user opt-in for that explicitly using.type
.That best effort is mostly about aliasing core properties (such as mapping
setUserName
tosetUser
). In 2.4.x we only map an alias for a datasource we know about (rather than just adding such alias regardless of the type).We should document those so that it's clear that if the user opt-in for a type, this may or may not be supported.
The text was updated successfully, but these errors were encountered: