-
-
Notifications
You must be signed in to change notification settings - Fork 971
GORM: Shared Mapping Registry O(M+N) Scaling #15656
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
Open
borinquenkid
wants to merge
126
commits into
8.0.x-hibernate7
Choose a base branch
from
8.0.x-hibernate7.gorm-scaling
base: 8.0.x-hibernate7
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
126 commits
Select commit
Hold shift + click to select a range
689d6f4
Refactor GORM 7 to a stateless class-singleton architecture
borinquenkid 88f33ae
Enhance GORM 7 stateless refactor and SimpleMap persistence
borinquenkid 98340fa
Enhance GORM 7 stateless refactor and SimpleMap persistence
borinquenkid b0730c9
Stabilize core AST transformations and stateless persistence for Groo…
borinquenkid c4acdbe
Stabilize GORM 7 Core APIs and Transformations for Groovy 4 / Java 24
borinquenkid 75ae380
Core: Stabilize GORM 7 APIs and Transformations for Groovy 4 / Java 24
borinquenkid 2820066
Hibernate 7: Stabilize module for GORM 7 stateless refactor
borinquenkid a06e77e
Temp
borinquenkid 77fd547
Revert "Stabilize GORM 7 Core APIs and Transformations for Groovy 4 /…
borinquenkid ff3a2df
Fixing Multitenancy
borinquenkid 3a3736c
Refactor Simple Map datastore for stateless multi-tenancy and correct…
borinquenkid e0e36a7
Cleanup debug logs and finalize Simple Map refactoring and transactio…
borinquenkid e3ac267
Fixed core
borinquenkid 32f3837
Fix Hibernate 7 multi-datasource entity registration and transaction …
borinquenkid f59776c
Implement core SessionResolver infrastructure
borinquenkid 588c22a
Finalize SessionResolver integration in grails-datastore-core
borinquenkid c13548a
Refactor GrailsSessionContext to use ServiceRegistry for Datastore re…
borinquenkid a582a77
Refactor DatastoreUtils to use idempotent bindSession
borinquenkid 11ade93
Stabilize Hibernate 7 implementation and fix multi-datasource routing
borinquenkid 216983e
fix(hibernate7): resolve compilation blockers and document runtime fa…
borinquenkid af30a8b
fix(h7): resolve multi-datasource routing and H7 session.contains() b…
borinquenkid 3ffbbba
fix(h7): fix all HibernateGormStaticApiSpec failures (68/68 pass)
borinquenkid a685d07
fix(h7): fix HibernatePagedResultList type and lastUpdated with dynam…
borinquenkid 35d0cdd
fix(h7): return managed Hibernate instance from performMerge; handle …
borinquenkid a4b6a26
fix(h7): fix withNewSession to open native Hibernate session before b…
borinquenkid a7539bc
docs: update ISSUES.md with H7 critical fixes and MongoDB migration g…
borinquenkid 2a4fe25
fix(h7): improve named parameter binding and fix ValidationException …
borinquenkid bc94253
Fix @Query named parameter binding in Data Services for H7 strict val…
borinquenkid 475b96c
Fix H7 veto exceptions for deepValidate:false and insert() validation
borinquenkid ca71889
fix(h7): resolve proxy routing and Instance API test failures
borinquenkid cc1c713
fix(h7): fix connection leak spec and nested session binding
borinquenkid 099fb9d
fix(h7): Achieve 100% test pass rate for Hibernate 7 module
borinquenkid 2b2cd20
chore: implement coordinated session management and stabilize Hiberna…
borinquenkid a93bffe
fix: resolve native SQL parameter binding and compilation errors in H…
borinquenkid 3ee7bf7
more progress
borinquenkid 2045336
fix: SCHEMA multi-tenancy session routing for H7 child datastores
borinquenkid 3d9c30b
clean up artifacts not needed
borinquenkid 1ddb603
test(h7): add GormRegistryScalabilitySpec to verify O(M+N) memory gua…
borinquenkid 1be3415
test(core): add GormRegistryScalabilitySpec to verify O(M+N) memory g…
borinquenkid 63cfe6b
docs: update ISSUES.md — H7 core 100% passing, document core regressions
borinquenkid 89def8b
fix: repair GormEnhancer regressions from O(M+N) refactor
borinquenkid 02d9cb7
fix(test): make GormRegistryScalabilitySpec parallel-safe
borinquenkid b6a9340
docs: update ISSUES.md — all datamapping modules passing, pivot to H7…
borinquenkid 33a70b9
docs+fix: consolidate ISSUES.md; fix MongoStaticApi missing Connectio…
borinquenkid bcdeb94
fix(mongodb): fix 20 MongoDB core test failures (54 -> 34)
borinquenkid c9c5a72
fix(h7): fix GrailsHibernateTemplate and TransactionalTransform for D…
borinquenkid 717a0ea
docs(h7): add Javadoc to GrailsHibernateTemplate.executeWithNewSession()
borinquenkid b83e3e3
docs: update ISSUES.md with GeoJSON investigation status
borinquenkid 5a66efc
docs: update ISSUES.md with GeoJSON debug findings
borinquenkid 21ba724
mongodb: - ✅ Fixed two codec issues (return statements and class mism…
borinquenkid 657bf74
Fix MongoDB embedded collection updates and dirty collection detection
borinquenkid 78aaac8
Update ISSUES.md with final test results - 553/560 passing (98.8%)
borinquenkid 4ccbb4d
Fix Mongo query/update regressions and DynamicFinder BuildableCriteri…
borinquenkid 3637f56
Fix MongoDB versioning, dirty checking, and embedded update conflicts
borinquenkid 68bfd37
UPdate ISSUES.md
borinquenkid b92af98
Fix H5 core compilation and port scalability tests to Mongo/H5
borinquenkid 62c4dee
chore: update issue tracker for Hibernate5 core regressions
borinquenkid 43397a9
Fix ListOrderBySpec: implement clearOrders in HibernateQuery for H5. …
borinquenkid 5b8c6ba
Fix Hibernate 5 session state and GORM API regressions. Collaborator:…
borinquenkid a1ec82a
Stabilize Hibernate 5.6: fix multi-tenancy, manual IDs, and version i…
borinquenkid 1235baf
Fix DetachedCriteriaProjectionAliasSpec test failures
borinquenkid 36faaee
Fix primitive ID insertion in performUpsert for Hibernate 5
borinquenkid 505d90a
Fix WhereQueryWithAssociationSortSpec and ClosureEventTriggeringInter…
borinquenkid e13355d
Fix MultipleOneToOneSpec test failure
borinquenkid 2ea64a2
Fix DeepValidationSpec by enabling deepValidate support in Grails 7 J…
borinquenkid 89b5d58
Fix hib5 O(M+N)
borinquenkid 7e1196d
more fixes
borinquenkid 3993c67
1 Fix GormEnhancer to enforce TenantNotFoundException in SCHEMA mode
borinquenkid 5fb8952
docs: Update ISSUES.md to reflect 100% pass rate for MongoDB sibling …
borinquenkid 24a87de
Update GrailsTestPlugin
borinquenkid 01149ed
fix plugins
borinquenkid 01cd412
RAT changes
borinquenkid 6f66842
Merge branch '8.0.x-hibernate7' into 8.0.x-hibernate7.gorm-scaling an…
borinquenkid d1efb91
Updated ISSUES.md to cover O(M+N) fixes and future improvements
borinquenkid 8632318
Stabilize GORM and Hibernate test failures
borinquenkid ab679e1
Refactor GormEnhancer to singleton pattern for state management
borinquenkid cf1d155
Remove unused NAMED_QUERIES and add GormEnhancerRegistry spec
borinquenkid 358e41e
refactor: Consolidate GormEnhancer constructors to reduce redundancy
borinquenkid 02d25c9
fix: H5 HibernateGormEnhancer must pass transactionManager to parent
borinquenkid c7af18c
Add factory specs for GormApiFactory and MongoGormApiFactory
borinquenkid 2c855c8
Add getStaticApi override to MongoGormEnhancer to directly create Mon…
borinquenkid 8ae5e8d
Fix MongoDB persistence: Add flush to GormStaticApi.saveAll()
borinquenkid 4f8b05b
Add MongoGormInstanceApi with auto-flush on save()
borinquenkid 21aeec0
Fix MongoGormInstanceApi: return result from super.save()
borinquenkid f63c9f2
Fix MongoDB persistence: Use MongoGormInstanceApi in MongoDatastore
borinquenkid 0c0e16e
Add comprehensive test specs for transaction template factories and M…
borinquenkid 9297976
MongoDB transaction rollback with factory-pattern gate and context-aw…
borinquenkid 1be49d8
Fix jline dependency version in documentation configs
borinquenkid 0218d11
Tighten GormEnhancer constructor API
borinquenkid 81adbaf
Add precondition assertions to GormEnhancer constructor
borinquenkid aa5a5f3
Extract ConnectionSourceNameResolver class
borinquenkid 912d202
Fix jline:jline version in grails-console
borinquenkid 8998d72
Fix GormEnhancer constructor API and test compatibility
borinquenkid 0dc115e
Add tests for GormRegistry entity registration methods
borinquenkid e1c8f76
Fix Hibernate dependency resolution in grails-plugin and docs
borinquenkid f3d99dc
Delegate constraint registration to GormRegistry
borinquenkid 34f7b9c
Fix entity registration to delegate orchestration while preserving en…
borinquenkid 4f157e3
Fix Hibernate dependency resolution and registerConstraints override …
borinquenkid 6bbaef2
Refactor GormEnhancer.registerEntity to delegate to GormRegistry
borinquenkid 883906a
Refactor to GormRegistry
borinquenkid 68afa58
Refactor GORM API resolution to registry factories
borinquenkid acf9de2
Merge remote-tracking branch 'origin/8.0.x-hibernate7' into 8.0.x-hib…
borinquenkid 88174ef
compile error
borinquenkid 225377f
refactor: clean up Gorm enhancer registry ownership
borinquenkid cb608f4
refactor: split GORM API registries
borinquenkid 1f43b5c
refactor: move API lookup to registries
borinquenkid 2d57504
fix: call public API finder methods instead of resolver directly
borinquenkid a391700
refactor: remove unused get*Api(String, String) overloads
borinquenkid eba68bd
refactor: remove unused onlyExtendedMethods parameter
borinquenkid 2025bc1
refactor: remove unused empty enhance() method
borinquenkid 49a596e
refactor: remove unused parameters and public wrapper from GormEnhancer
borinquenkid 6ebd81c
refactor: remove unused enhance(PersistentEntity) method
borinquenkid 229b919
refactor: remove unused enhance(PersistentEntity) method
borinquenkid 4f5e4c9
Merge branch '8.0.x-hibernate7' into 8.0.x-hibernate7.gorm-scaling
borinquenkid 73658df
Fix GormEnhancer constructor call in GrailsDataCoreTckManager
borinquenkid d9bd4eb
Fix GormEnhancer constructor calls in SimpleMapQuerySpec
borinquenkid 4a43ad6
Fix registry factory resolution and qualifier API regressions
borinquenkid b65d48a
Fix Hibernate 7 core regression specs
borinquenkid a8dd84c
refactor: remove unused enhance(PersistentEntity) method
borinquenkid 184081c
Codenarc and CodeStyle
borinquenkid 7baeeab
Fix Hibernate test syntax regressions
borinquenkid 1c6d98a
Move code-style violation reports to build/reports/style-violations/
borinquenkid f59eb0d
Fix date parsing error message expectations in databinding tests
borinquenkid 807ad17
Fix quoting issues and test compatibility updates
borinquenkid 15880d5
Add missing service initialization in H7 database-per-tenant test
borinquenkid 5ef85eb
Ensure H7 database-per-tenant test matches H5 structure
borinquenkid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
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 the wrong change. These values should come from the bom.