-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Delegate detection of the database version to the Hibernate ORM dialect and enable checks for Hibernate Reactive #43764
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
Conversation
/cc @gsmet (hibernate-orm) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before merging this, we should check that it works with Hibernate Reactive.
I rebased on the ORM 7 upgrade PR (which upgrades to Reactive 3.0.0.CR1 too, now), and added tests to check DB version checking works with Hibernate Reactive, but so far it does not. I think I'll get back to this later, will try to fix it, and will update the Hibernate Reactive extension docs (since we need to document the DB version stuff there, too). |
🙈 The PR is closed and the preview is expired. |
7895d01
to
5ae0b5f
Compare
Let's see what CI has to say, I'm seeing weird test failures for Gradle in my fork... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There's definitely something wrong, and fortunately my new |
Because some dialects have very specific ways of detecting the version, such as running some SQL, that work better than asking the JDBC driver.
…licit Hibernate ORM dialects Because that detection is now done by the Hibernate ORM dialect itself, and should work properly for all dialects.
Should be good now. |
Status for workflow
|
Fixes #43703
Fixes #42255
Fixes #45263
Based on #41310, which must be merged first. Critically, #41310 requires Hibernate ORM 7.0.0.Final to be released, so we won't be able to merge this PR for a while. I'm submitting it anyway as a draft, so that we remember it's that easy: only the last two commits will be needed after we rebase.=> #41310 was merged