Repository navigation
Use the right @since for the classes of GORM for Hibernate 7 - #16508
Merged
Merged
Conversation
@since 8.0 for the classes of GORM for Hibernate 7
@since 8.0 for the classes of GORM for Hibernate 7
matrei
force-pushed
the
docs/hibernate7-since-8.0
branch
from
October 4, 2026 10:13
16bf332 to
841f6fb
Compare
Most were added together with @SInCE 7.0 and named authors of older classes on classes that are new in Grails 8.
@since for the classes of GORM for Hibernate 7
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.0.x #16508 +/- ##
==================================================
- Coverage 59.4048% 59.4039% -0.0009%
+ Complexity 24859 24858 -1
==================================================
Files 2171 2171
Lines 108237 108237
Branches 19744 19744
==================================================
- Hits 64298 64297 -1
- Misses 35001 35003 +2
+ Partials 8938 8937 -1 🚀 New features to boost your workflow:
|
✅ All tests passed ✅🏷️ Commit: fa7ed61 Learn more about TestLens at testlens.app/docs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
25 classes in
grails-data-hibernate7/coresay@since 7.0or@since 7.0.0, but no Grails 7 release has Hibernate 7 support. The version refers to Hibernate 7, not to the Grails release that introduces the class.New in Grails 8
24 of them do not exist under the same name in any Grails 7 release. Most were added to the module between December 2025 and April 2026.
JpaCriteriaQueryCreatorstarted in the Hibernate 6 module in August 2025, which was also only on the 8.0 line. Some contain code moved out of older classes, such as the subclass binders, but each is a new class. They first shipped in 8.0.0-M2 or later and now say@since 8.0. That matches the rest of the module, and the Hibernate 5 copies of the proxy classes added on 8.0.x, which already say@since 8.0:JoinedSubClassBinder,SingleTableSubclassBinder,UnionSubclassBinder,GrailsNativeGenerator,HibernateMappingKeyword,MultiTenantFilterBinder,MultiTenantFilterDefinitionBinderByteBuddyGroovyInterceptor,ByteBuddyGroovyProxyFactory,GrailsProxyFactoryFactory,GroovyProxyInterceptorLogicAliasRegistry,ExpressionResolver,GrailsQueryFlushMode,Hibernate7CountProjection,HibernatePagedResultList,HqlListQueryBuilder,JoinTracker,JpaCriteriaQueryCreator,JpaProjectionAdapter,JpaProjectionTranslator,JpaQueryContext,MutationHqlQuery,PredicateGeneratorCopied from Hibernate 5
org.grails.orm.hibernate.proxy.HibernateProxyHandleris the same class as in GORM for Hibernate 5, with the same name and interfaces. It was copied with@since 1.2.2, and later changed to@since 7.0when it was reworked. It now says@since 1.2.2again, as the Hibernate 5 class does.No @author tags
20 of the 25 classes had
@authortags, 25 in all. They are removed. Most were added in 2026, in the same commits as@since 7.0, and named authors who did not write the class.Graeme Rocherandburtappear on classes that are new in Grails 8. Some of those contain code moved out of older classes, but the class itself is new. Git history records who wrote what.Only the Javadoc changes.