This is an automated email from the ASF dual-hosted git repository.
borinquenkid pushed a change to branch feat/gorm-registry-core
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from b85e7f86f4 fix: restore registerConstraints hook and fix
MongoStaticApi fields dropped by scaling refactor
new af616de85a style: fix ternary operator placement in HibernateSession
(Checkstyle)
new 1d36409994 fix: distinguish datasource connection qualifier from
tenant ID in AbstractGormApi.execute()
new 28f382fb24 fix: route withDatastoreSession through execute() and
correct last(String) sort order
new ed56cf7578 fix: mode-aware tenant lookup and bound DatastoreResolvers
in GormRegistry
new ff482db686 fix: missing HQL method overrides in H5/H7 static API and
defensive ConnectionProvider lookup
new b79e64500f fix: register HibernateGormApiFactory in
registerConstraints; update affected tests
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../manager/GraphQLDataFetcherManagerSpec.groovy | 5 +-
.../AbstractHibernateGormStaticApi.groovy | 36 +++++++---
.../orm/hibernate/GrailsHibernateTemplate.java | 8 ++-
.../orm/hibernate/HibernateGormApiFactory.groovy | 73 ++++++++++++++++++++
.../orm/hibernate/HibernateGormEnhancer.groovy | 5 +-
.../orm/hibernate/HibernateGormStaticApi.groovy | 11 ++-
.../core/GrailsDataHibernate5TckManager.groovy | 11 ++-
.../datastore/gorm/GormEnhancerCleanupSpec.groovy | 61 ++++++-----------
.../orm/hibernate/HibernateGormApiFactory.groovy | 73 ++++++++++++++++++++
.../orm/hibernate/HibernateGormEnhancer.groovy | 4 +-
.../orm/hibernate/HibernateGormStaticApi.groovy | 35 +++++++---
.../org/grails/orm/hibernate/HibernateSession.java | 6 +-
.../datastore/gorm/GormEnhancerCleanupSpec.groovy | 63 ++++++-----------
.../hibernate/HibernateGormInstanceApiSpec.groovy | 10 +--
.../hibernate/HibernateGormStaticApiSpec.groovy | 3 +-
.../HibernateGormValidationApiSpec.groovy | 5 +-
.../hibernate/SchemaTenantGormEnhancerSpec.groovy | 2 -
.../GrailsIdentityGeneratorSpec.groovy | 5 ++
.../grails/datastore/gorm/AbstractGormApi.groovy | 28 +++++++-
.../org/grails/datastore/gorm/GormRegistry.groovy | 74 ++++++++++++++++----
.../org/grails/datastore/gorm/GormStaticApi.groovy | 6 +-
.../grails/datastore/gorm/GormRegistrySpec.groovy | 79 ++++++++++++++++++++++
.../testing/tck/base/GrailsDataTckManager.groovy | 78 ++-------------------
.../data/testing/tck/tests/DomainEventsSpec.groovy | 1 -
.../tck/tests/FirstAndLastMethodSpec.groovy | 6 --
25 files changed, 454 insertions(+), 234 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