Skip to content
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

DataSource auto-configuration does not use the driver class name from JdbcConnectionDetails #34777

Closed
wilkinsona opened this issue Mar 27, 2023 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

As reported by @eddumelendez in #34760, DataSource auto-configuration ignores the connection details' driver class name so it infers the driver from the JDBC URL instead. This results in a failure when the driver isn't known to org.springframework.boot.jdbc.DatabaseDriver.

@wilkinsona wilkinsona added the type: bug A general bug label Mar 27, 2023
@wilkinsona wilkinsona added this to the 3.1.x milestone Mar 27, 2023
@wilkinsona wilkinsona self-assigned this Mar 27, 2023
@wilkinsona wilkinsona modified the milestones: 3.1.x, 3.1.0-RC1 Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant