feat: wire Hibernate 5 adapter to GormRegistry O(M+N) scaling#15782
Closed
borinquenkid wants to merge 1 commit into
Closed
feat: wire Hibernate 5 adapter to GormRegistry O(M+N) scaling#15782borinquenkid wants to merge 1 commit into
borinquenkid wants to merge 1 commit into
Conversation
This was referenced Jun 27, 2026
5e565ae to
00b0fe6
Compare
c9a86d8 to
112af9d
Compare
00b0fe6 to
894bd24
Compare
112af9d to
964143d
Compare
894bd24 to
65053e3
Compare
964143d to
22a1b06
Compare
65053e3 to
1910711
Compare
22a1b06 to
1f3125e
Compare
1910711 to
b91daa6
Compare
1f3125e to
cc888a0
Compare
b91daa6 to
14704c2
Compare
532480b to
8294745
Compare
14704c2 to
1dd696a
Compare
8294745 to
c71045d
Compare
Register HibernateGormApiFactory with GormRegistry in HibernateGormEnhancer, wire GrailsDataHibernate5TckManager to the new registry lifecycle, and update affected Hibernate 5 tests and TCK specs to use the registry-based API path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1dd696a to
c5d67bd
Compare
c71045d to
bde6eff
Compare
✅ All tests passed ✅🏷️ Commit: bde6eff Learn more about TestLens at testlens.app. |
Member
Author
|
Superseded by #15780 — the consolidated GormRegistry core-impl PR wires the in-build adapters directly (Hibernate 5/7 and MongoDB via a registered GormApiFactory; SimpleMap and GraphQL via the base GormStaticApi) and is stabilized green. The unique unit-test coverage from this stack was harvested into #15790. Closing as superseded; the branch is retained for reference (not deleted). |
2 tasks
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.
Summary
Wires the Hibernate 5 adapter into the
GormRegistryintroduced in #15780.HibernateGormApiFactory— new factory that createsHibernateGormStaticApi,HibernateGormInstanceApi, andHibernateGormValidationApiinstances typed toHibernateDatastoreHibernateGormEnhancer.registerConstraints()— registersHibernateGormApiFactorywithGormRegistryso Hibernate-typed APIs are used for all H5 entitiesGrailsDataHibernate5TckManager— updated to participate in the registry lifecycleTenantBoundHibernateTemplate— new template subclass that binds the current tenant to the Hibernate session forDISCRIMINATORmulti-tenancyHibernateGormApiFactorySpec,GormRegistryScalabilitySpec,Hibernate5TenantContextProfilingSpecTest plan
./gradlew :grails-data-hibernate5:testpasses-Phibernate5.gorm.suiteStack
feat/gorm-registry-mongodb🤖 Generated with Claude Code