You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/10/21 13:29:26 UTC

(grails-core) branch 7.0.x updated (ef9fec7929 -> d1db00ec21)

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

jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


    from ef9fec7929 [skip tests] ci: run the MongoDB functional tests on ubuntu-22.04 until the runner kernel stops tripping MongoDB 8.0's startup guard
     add 14eaf0ce23 Run without a tenant only inside Tenants.withoutId
     new d1db00ec21 Merge pull request #16703 from apache/fix/gorm-without-tenant-marker-7.0.x

The 1 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:
 .../orm/hibernate/AbstractHibernateDatastore.java  | 103 ++++++-
 .../AbstractHibernateGormStaticApi.groovy          |   5 +
 .../grails/orm/hibernate/HibernateDatastore.java   |  17 ++
 .../orm/hibernate/cfg/GrailsDomainBinder.java      |  10 +-
 .../MultiTenantCollectionEventListener.java        |  60 ++++
 .../multitenancy/MultiTenantEventListener.java     |  15 +-
 .../query/AbstractHibernateCriteriaBuilder.java    |   8 +-
 .../PartitionedMultiTenancyFilterSpec.groovy       | 322 +++++++++++++++++++++
 ...PartitionedMultiTenancyResolverQuerySpec.groovy | 180 ++++++++++++
 .../PartitionedMultiTenancyWithoutIdSpec.groovy    | 230 +++++++++++++++
 .../multiTenancy/discriminatorMultiTenancy.adoc    |  17 ++
 .../asciidoc/multiTenancy/multiTenancyModes.adoc   |   2 +
 .../PartitionedMultiTenancyNullTenantSpec.groovy   | 100 +++++++
 .../PartitionedMultiTenancyWithoutIdSpec.groovy    | 189 ++++++++++++
 .../groovy/grails/gorm/multitenancy/Tenants.groovy | 173 +++++++----
 .../multitenancy/MultiTenantEventListener.java     |   3 +-
 .../gorm/services/DefaultTenantService.groovy      |   2 +-
 .../src/en/guide/upgrading/upgrading60x.adoc       |  13 +
 18 files changed, 1365 insertions(+), 84 deletions(-)
 create mode 100644 grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/multitenancy/MultiTenantCollectionEventListener.java
 create mode 100644 grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyFilterSpec.groovy
 create mode 100644 grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyResolverQuerySpec.groovy
 create mode 100644 grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyWithoutIdSpec.groovy
 create mode 100644 grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/nulltenant/PartitionedMultiTenancyNullTenantSpec.groovy
 create mode 100644 grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/withoutid/PartitionedMultiTenancyWithoutIdSpec.groovy


(grails-core) 01/01: Merge pull request #16703 from apache/fix/gorm-without-tenant-marker-7.0.x

Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit d1db00ec21531da14dfdb2420142ad3291411e0d
Merge: ef9fec7929 14eaf0ce23
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed Oct 21 09:28:29 2026 -0400

    Merge pull request #16703 from apache/fix/gorm-without-tenant-marker-7.0.x
    
    Run without a tenant only inside Tenants.withoutId

 .../orm/hibernate/AbstractHibernateDatastore.java  | 103 ++++++-
 .../AbstractHibernateGormStaticApi.groovy          |   5 +
 .../grails/orm/hibernate/HibernateDatastore.java   |  17 ++
 .../orm/hibernate/cfg/GrailsDomainBinder.java      |  10 +-
 .../MultiTenantCollectionEventListener.java        |  60 ++++
 .../multitenancy/MultiTenantEventListener.java     |  15 +-
 .../query/AbstractHibernateCriteriaBuilder.java    |   8 +-
 .../PartitionedMultiTenancyFilterSpec.groovy       | 322 +++++++++++++++++++++
 ...PartitionedMultiTenancyResolverQuerySpec.groovy | 180 ++++++++++++
 .../PartitionedMultiTenancyWithoutIdSpec.groovy    | 230 +++++++++++++++
 .../multiTenancy/discriminatorMultiTenancy.adoc    |  17 ++
 .../asciidoc/multiTenancy/multiTenancyModes.adoc   |   2 +
 .../PartitionedMultiTenancyNullTenantSpec.groovy   | 100 +++++++
 .../PartitionedMultiTenancyWithoutIdSpec.groovy    | 189 ++++++++++++
 .../groovy/grails/gorm/multitenancy/Tenants.groovy | 173 +++++++----
 .../multitenancy/MultiTenantEventListener.java     |   3 +-
 .../gorm/services/DefaultTenantService.groovy      |   2 +-
 .../src/en/guide/upgrading/upgrading60x.adoc       |  13 +
 18 files changed, 1365 insertions(+), 84 deletions(-)