Skip to content

Improve error message when asking for a JDBC connection #2293

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Jun 6, 2025

Fix #2186

@yrodiere, is this better?

@dreab8, You are workging on #2154, right? Do you have a test case I can borrow to see the error? Thanks

The new error message:

The application requested a JDBC connection, but Hibernate Reactive doesn't use JDBC.
This could be caused by a bug or the use of an unsupported feature in Hibernate Reactive

@DavideD DavideD force-pushed the 2186-error-message branch from f6f00f6 to 59f8ab8 Compare June 6, 2025 10:07
Copy link
Member

@yrodiere yrodiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@DavideD DavideD force-pushed the 2186-error-message branch from 59f8ab8 to 214ef7f Compare June 6, 2025 10:11
@DavideD DavideD force-pushed the 2186-error-message branch from 214ef7f to 70c91eb Compare June 6, 2025 10:13
@DavideD DavideD merged commit 4bec7b2 into hibernate:main Jun 6, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve error message for obtaining a JDBC connection
2 participants