-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
HHH-16935 Fix inconsistent method name #7049
Conversation
@sebersole Please review. |
That looks reasonable, thanks! |
@Sanne Updated by introducing deprecated default method as your suggestion. |
It's not just renaming but also logic error fix, please check it ASAP. @Sanne @sebersole hibernate-orm/hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java Lines 973 to 976 in 0897a90
|
@@ -243,5 +243,15 @@ default boolean isXmlMappingEnabled() { | |||
/** | |||
* Check to see if extensions can be hosted in CDI | |||
*/ | |||
boolean disallowExtensionsInCdi(); | |||
boolean isAllowExtensionsInCdi(); |
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.
This is an extremely awkward-sounding name.
How about something like isCdiIntegrationEnabled()
. WDYT, @sebersole?
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.
This is an extremely awkward-sounding name.
How about something like
isCdiIntegrationEnabled()
. WDYT, @sebersole?
Please keep in mind AvailableSettings.ALLOW_EXTENSIONS_IN_CDI
is public, consistency or compatibility will be broken if renaming is made again.
hibernate-orm/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
Line 1356 in 0897a90
String ALLOW_EXTENSIONS_IN_CDI = "hibernate.cdi.extensions"; |
What's the decision? |
Sorry, missed the notifications from this. 👍 Jan is going to rebase this and apply |
Done. |
It should be backported to 6.2.x and 6.3.x since it's bugfix. |
Hello, I think this change it is related with this bug https://hibernate.atlassian.net/jira/software/c/projects/HHH/issues/HHH-16881?filter=allissues I don't know if you have time to check it, but currently it is not possible to use RevisionListener with Spring Boot 3.1.X Thanks in advance |
I missed checking |
I created a PR yesterday |
https://hibernate.atlassian.net/browse/HHH-16935