-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Bump to Hibernate 5.6.3.Final #22301
Conversation
It finally undeprecates the TypeDef annotations
thanks for preparing the PR! |
Any chance to backport this PR to 2.6.1.Final? (#22114 (comment)) |
I have no strong objections but there's no strong reason to do it either... just a little risk. IMO it's best to calm down a little with backports, unless there's good reasons, no? People will get it soon, it's not like 2.7 will take ages :) |
@Sanne for me the removal of the deprecation warnings is the main driver to get it asap but I think we can wait for 2.7 next year :) |
Looking at #22925 (comment) and given this PR here is marked for imminent 2.6.3, isn't this going to break projects that are using currently latest blaze-persistence 1.6.4? |
Not sure to understand? Current version of BP in Quarkus is not compatible with 5.6.3? |
@gsmet I got that impression from Blazebit/blaze-persistence#1413 |
There is a breaking change in the |
Just checked my project (which is using |
Are you overriding the |
No, we don't. |
Then the contributor is maybe not applied correctly when using Quarkus for some reason. I'll dig into that. |
Hum, we are generating the ids of our entities on our own (UUIDs), so maybe that's the reason? |
Ok, so the Quarkus Hibernate bootstrap somehow strips off configuration values contributed in MetadataContributor implementations, which is why Blazebit/blaze-persistence#1413 is not an issue for Quarkus users. Working on a fix for that now. Apart from that, yes, I think that we should try to get a Hibernate 5.6.4.Final out that avoids breaking SPIs. I'll work on that first thing on Monday. From my experiments in Blaze-Persistence I can see that constructing the new additional parameter is possible through the other parameters, so we could add a default method:
|
FYI I created https://hibernate.atlassian.net/browse/HHH-15032 for the issue. |
I was about to tag Please remember I won't be around in the next few days. |
It finally undeprecates the TypeDef annotations