You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by bo...@apache.org on 2026/06/27 20:47:37 UTC

(grails-core) branch feat/gorm-registry-misc updated (b97eaeb99f -> 3cc9135ce6)

This is an automated email from the ASF dual-hosted git repository.

borinquenkid pushed a change to branch feat/gorm-registry-misc
in repository https://gitbox.apache.org/repos/asf/grails-core.git


    omit b97eaeb99f feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling
    omit 9ad7741b8d feat: wire SimpleMap adapter to GormRegistry O(M+N) scaling
    omit 6196ff4b46 feat: wire Neo4j adapter to GormRegistry O(M+N) scaling
    omit cf60629ec5 feat: wire MongoDB adapter to GormRegistry O(M+N) scaling
    omit 964143d3c6 feat: wire Hibernate 5 adapters to GormRegistry O(M+N) scaling
    omit 894bd24b85 test: add unit and TCK tests for GormRegistry O(M+N) scaling
     add a870fc8ea0 fix: widen MongoMappingContext.initialize visibility to public
     add 089ca4396f feat: GORM O(M+N) scaling — GormRegistry, GormEnhancer, and core API refactor
     add f12b5d7ed1 fix: restore registerConstraints to GormEnhancer dropped in scaling refactor
     add 71bbac4e2b fix: restore registerConstraints hook and fix MongoStaticApi fields dropped by scaling refactor
     add e14c9f6f31 fix: distinguish datasource connection qualifier from tenant ID in AbstractGormApi.execute()
     add 11c5eda95c fix: mode-aware tenant lookup and bound DatastoreResolvers in GormRegistry
     add d002c19ad9 fix: register HibernateGormApiFactory in registerConstraints; update affected tests
     add b49c19f20a style: remove unused ConnectionSource import and fix consecutive blank lines in HibernateGormEnhancer
     add 65053e3fed test: add unit and TCK tests for GormRegistry O(M+N) scaling
     add 22a1b06370 feat: wire Hibernate 5 adapters to GormRegistry O(M+N) scaling
     add 6d7070a9d3 feat: wire MongoDB adapter to GormRegistry O(M+N) scaling
     add c9dcec4460 feat: wire Neo4j adapter to GormRegistry O(M+N) scaling
     add ac65d232c6 feat: wire SimpleMap adapter to GormRegistry O(M+N) scaling
     add 3cc9135ce6 feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b97eaeb99f)
            \
             N -- N -- N   refs/heads/feat/gorm-registry-misc (3cc9135ce6)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .gitignore                                         |    5 +
 build.gradle                                       |   12 +
 gradle/hibernate5-test-config.gradle               |    1 +
 gradle/hibernate7-test-config.gradle               |    1 +
 gradle/mongodb-test-config.gradle                  |    1 +
 gradle/rat-root-config.gradle                      |    1 +
 gradle/test-config.gradle                          |   38 +-
 .../orm/hibernate/HibernateGormApiFactory.groovy   |   73 ++
 .../orm/hibernate/HibernateGormEnhancer.groovy     |    3 +-
 .../core/GrailsDataHibernate5TckManager.groovy     |   19 +-
 .../datastore/gorm/GormEnhancerCleanupSpec.groovy  |   61 +-
 .../orm/hibernate/HibernateGormApiFactory.groovy   |   73 ++
 .../orm/hibernate/HibernateGormEnhancer.groovy     |    3 +-
 .../datastore/gorm/GormEnhancerCleanupSpec.groovy  |   63 +-
 .../hibernate/HibernateGormInstanceApiSpec.groovy  |   10 +-
 .../hibernate/HibernateGormStaticApiSpec.groovy    |    3 +-
 .../HibernateGormValidationApiSpec.groovy          |    5 +-
 .../hibernate/SchemaTenantGormEnhancerSpec.groovy  |    2 -
 .../GrailsIdentityGeneratorSpec.groovy             |    5 +
 .../datastore/gorm/mongo/api/MongoStaticApi.groovy |    8 +
 grails-datamapping-core/build.gradle               |    1 +
 .../main/groovy/grails/gorm/CriteriaBuilder.java   |   21 +
 .../groovy/grails/gorm/DetachedCriteria.groovy     |   10 +-
 .../src/main/groovy/grails/gorm/MultiTenant.groovy |    8 +-
 .../grails/gorm/api/GormStaticOperations.groovy    |   27 +
 .../gorm/multitenancy/CurrentTenantHolder.groovy   |  135 ++
 .../groovy/grails/gorm/multitenancy/Tenants.groovy |  214 ++--
 .../transactions/GrailsTransactionTemplate.groovy  |   22 +-
 .../datastore/gorm/AbstractDatastoreApi.groovy     |   29 +-
 .../grails/datastore/gorm/AbstractGormApi.groovy   |  193 ++-
 .../datastore/gorm/AbstractGormApiRegistry.groovy  |  152 +++
 .../gorm/ConnectionSourceNameResolver.groovy       |   70 +
 .../grails/datastore/gorm/DatastoreResolver.groovy |   17 +-
 .../datastore/gorm/DefaultGormApiFactory.groovy    |   83 ++
 .../grails/datastore/gorm/GormApiFactory.groovy    |   52 +
 .../grails/datastore/gorm/GormApiResolver.groovy   |  414 ++++++
 .../org/grails/datastore/gorm/GormEnhancer.groovy  |  721 +++--------
 .../datastore/gorm/GormEnhancerRegistry.groovy     |   99 ++
 .../org/grails/datastore/gorm/GormEntity.groovy    |   53 +-
 .../datastore/gorm/GormEntityDirtyCheckable.groovy |    8 +-
 .../grails/datastore/gorm/GormInstanceApi.groovy   |  438 +++----
 .../datastore/gorm/GormInstanceApiRegistry.groovy  |   57 +
 .../org/grails/datastore/gorm/GormRegistry.groovy  |  942 ++++++++++++++
 .../org/grails/datastore/gorm/GormStaticApi.groovy | 1347 ++++++++------------
 .../datastore/gorm/GormStaticApiRegistry.groovy    |   57 +
 .../grails/datastore/gorm/GormValidateable.groovy  |    6 +-
 .../grails/datastore/gorm/GormValidationApi.groovy |  135 +-
 .../gorm/GormValidationApiRegistry.groovy          |   57 +
 .../gorm/events/AutoTimestampEventListener.java    |    7 +-
 .../gorm/finders/AbstractFindByFinder.java         |    8 +-
 .../datastore/gorm/finders/AbstractFinder.java     |   29 +-
 .../datastore/gorm/finders/CountByFinder.java      |   55 +-
 .../datastore/gorm/finders/DynamicFinder.java      |   57 +-
 .../gorm/finders/FindAllByBooleanFinder.java       |   18 +-
 .../datastore/gorm/finders/FindAllByFinder.java    |   13 +-
 .../gorm/finders/FindByBooleanFinder.java          |   25 +-
 .../datastore/gorm/finders/FindByFinder.java       |    5 +
 .../gorm/finders/FindOrCreateByFinder.java         |    9 +
 .../datastore/gorm/finders/FindOrSaveByFinder.java |   48 +-
 .../datastore/gorm/finders/ListOrderByFinder.java  |   77 +-
 .../gorm/jdbc/MultiTenantConnection.groovy         |    8 +-
 .../gorm/jdbc/schema/DefaultSchemaHandler.groovy   |    3 +
 .../multitenancy/MultiTenantEventListener.java     |   68 +-
 .../TenantDelegatingGormOperations.groovy          |   28 +
 .../multitenancy/transform/TenantTransform.groovy  |   27 +-
 .../query/criteria/AbstractCriteriaBuilder.java    |   29 +-
 .../gorm/services/DefaultTenantService.groovy      |   66 +-
 .../gorm/services/DefaultTransactionService.groovy |   13 +
 .../implementers/AbstractServiceImplementer.groovy |   49 +-
 .../AbstractStringQueryImplementer.groovy          |   59 +-
 .../implementers/FindAllByImplementer.groovy       |   10 +-
 ...nterfaceProjectionStringQueryImplementer.groovy |    5 +
 .../FindOneStringQueryImplementer.groovy           |   21 +-
 .../UpdateStringQueryImplementer.groovy            |    5 +
 .../transform/ServiceTransformation.groovy         |  280 ++--
 .../DefaultTransactionTemplateFactory.groovy       |   24 +-
 .../transactions/TransactionTemplateFactory.groovy |   60 +-
 .../transform/TransactionalTransform.groovy        |  426 +++----
 ...tDatastoreMethodDecoratingTransformation.groovy |  202 ++-
 .../AbstractMethodDecoratingTransformation.groovy  |    7 +-
 .../constraints/builtin/UniqueConstraint.groovy    |    4 +-
 .../validation/jakarta/GormValidatorAdapter.groovy |   17 +-
 .../MappingContextTraversableResolver.groovy       |    3 +
 .../listener/ValidationEventListener.groovy        |    4 +-
 84 files changed, 4873 insertions(+), 2651 deletions(-)
 create mode 100644 grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/HibernateGormApiFactory.groovy
 create mode 100644 grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/HibernateGormApiFactory.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/grails/gorm/multitenancy/CurrentTenantHolder.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/AbstractGormApiRegistry.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/ConnectionSourceNameResolver.groovy
 copy grails-views-core/src/main/groovy/grails/views/WriterProvider.groovy => grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/DatastoreResolver.groovy (70%)
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/DefaultGormApiFactory.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormApiFactory.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormApiResolver.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormEnhancerRegistry.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormInstanceApiRegistry.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormRegistry.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormStaticApiRegistry.groovy
 create mode 100644 grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/GormValidationApiRegistry.groovy
 copy grails-data-mongodb/core/src/main/groovy/org/grails/datastore/gorm/mongo/transactions/MongoTransactionTemplateFactory.groovy => grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/transactions/DefaultTransactionTemplateFactory.groovy (66%)
 copy grails-data-mongodb/core/src/main/groovy/org/grails/datastore/gorm/mongo/transactions/MongoTransactionTemplateFactory.groovy => grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/transactions/TransactionTemplateFactory.groovy (59%)