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/04 17:03:30 UTC
(grails-core) branch 8.0.x updated (542ae8ac9b -> dc8462b47b)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 542ae8ac9b Merge pull request #16514 from apache/deps/asset-pipeline-5.2.0
add 9fa482ba91 Implement sqlRestriction for Hibernate 7 criteria queries
add edc5f687cb Address review feedback on Hibernate 7 sqlRestriction
add c316b7d52c Register the Hibernate 7 junction sqlRestriction as an extension module
new dc8462b47b Merge pull request #16505 from apache/fix/hibernate7-sql-restriction
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:
.../grails/orm/HibernateCriteriaBuilder.java | 27 ++
.../query/GrailsSqlRestrictionFunction.java | 106 ++++
...> GrailsSqlRestrictionFunctionContributor.java} | 16 +-
.../query/HibernateDetachedCriteriaExtension.java | 67 +++
.../orm/hibernate/query/PredicateGenerator.java | 52 +-
.../grails/orm/hibernate/query/SqlRestriction.java | 133 +++++
.../org.codehaus.groovy.runtime.ExtensionModule | 3 +
.../org.hibernate.boot.model.FunctionContributor | 1 +
.../gorm/tests/SqlRestrictionHibernate7Spec.groovy | 160 ++++++
.../hibernatequery/PredicateGeneratorSpec.groovy | 40 ++
...bernateCriteriaBuilderSqlRestrictionSpec.groovy | 534 +++++++++++++++++++++
.../docs/src/docs/asciidoc/querying/criteria.adoc | 22 +-
.../docs/asciidoc/querying/detachedCriteria.adoc | 11 +-
13 files changed, 1162 insertions(+), 10 deletions(-)
create mode 100644 grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/GrailsSqlRestrictionFunction.java
copy grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/{EqualsIgnoreCase.java => GrailsSqlRestrictionFunctionContributor.java} (61%)
create mode 100644 grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/HibernateDetachedCriteriaExtension.java
create mode 100644 grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/SqlRestriction.java
create mode 100644 grails-data-hibernate7/core/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
create mode 100644 grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/SqlRestrictionHibernate7Spec.groovy
create mode 100644 grails-data-hibernate7/core/src/test/groovy/grails/orm/HibernateCriteriaBuilderSqlRestrictionSpec.groovy
(grails-core) 01/01: Merge pull request #16505 from apache/fix/hibernate7-sql-restriction
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit dc8462b47b31ecf5fcad16d46b8276939b7b26ec
Merge: 542ae8ac9b c316b7d52c
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Sun Oct 4 13:03:25 2026 -0400
Merge pull request #16505 from apache/fix/hibernate7-sql-restriction
Implement sqlRestriction for Hibernate 7 criteria queries
.../grails/orm/HibernateCriteriaBuilder.java | 27 ++
.../query/GrailsSqlRestrictionFunction.java | 106 ++++
.../GrailsSqlRestrictionFunctionContributor.java | 37 ++
.../query/HibernateDetachedCriteriaExtension.java | 67 +++
.../orm/hibernate/query/PredicateGenerator.java | 52 +-
.../grails/orm/hibernate/query/SqlRestriction.java | 133 +++++
.../org.codehaus.groovy.runtime.ExtensionModule | 3 +
.../org.hibernate.boot.model.FunctionContributor | 1 +
.../gorm/tests/SqlRestrictionHibernate7Spec.groovy | 160 ++++++
.../hibernatequery/PredicateGeneratorSpec.groovy | 40 ++
...bernateCriteriaBuilderSqlRestrictionSpec.groovy | 534 +++++++++++++++++++++
.../docs/src/docs/asciidoc/querying/criteria.adoc | 22 +-
.../docs/asciidoc/querying/detachedCriteria.adoc | 11 +-
13 files changed, 1190 insertions(+), 3 deletions(-)