This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch deps/spock-2.5-groovy-6
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 886e8c4f6c Upgrade Spock to 2.5-groovy-6.0 and drop the Groovy 6
version-check opt-out
add faba2f8f4a Pin the build-logic CI job to setup-gradle v6.4.0
add 9f0a8a8b15 Take the end-to-end build's version from the root
gradle.properties
add cb1f659bd0 Hibernate 7: support sqlProjection and sqlGroupProjection
in criteria queries
add b166f57ef8 Address review feedback on Hibernate 7 SQL projections
add bfef86ab26 Address second review on Hibernate 7 SQL projections
add dcd19bc8a0 Match backquoted and bracketed group by aliases regardless
of case
add 0e8fd03e56 Merge pull request #16548 from
gustavoharff/feat/hibernate7-sql-projection
add c8498b2740 Merge branch '8.0.x' into 8.1.x
add 269447fa90 Merge branch '8.1.x' into 9.0.x
add d74afb490d Run the CI sentinel init script without the configuration
cache
add 9594121a76 Merge branch '9.0.x' into deps/spock-2.5-groovy-6
No new revisions were added by this update.
Summary of changes:
.github/ci-exit-after-build.init.gradle | 4 +
.github/ci-run-neo4j-tests.sh | 3 +
.github/tests/test_ci_run_neo4j.py | 1 +
.github/workflows/gradle.yml | 5 +-
end-to-end/build.gradle | 7 +
end-to-end/gradle.properties | 2 +-
.../grails/orm/HibernateCriteriaBuilder.java | 113 +++++
.../query/GrailsSqlProjectionFunction.java | 99 ++++
...=> GrailsSqlProjectionFunctionContributor.java} | 10 +-
.../query/GrailsSqlRestrictionFunction.java | 2 +-
.../hibernate/query/JpaCriteriaQueryCreator.java | 53 ++-
.../orm/hibernate/query/JpaProjectionAdapter.java | 11 +-
.../hibernate/query/JpaProjectionTranslator.java | 73 +++
.../orm/hibernate/query/JpaQueryContext.java | 24 +
.../orm/hibernate/query/PredicateGenerator.java | 21 +-
.../orm/hibernate/query/SqlGroupProjection.java | 65 +++
.../grails/orm/hibernate/query/SqlProjection.java | 275 +++++++++++
.../grails/orm/hibernate/query/SqlRestriction.java | 4 +-
.../org.hibernate.boot.model.FunctionContributor | 1 +
.../gorm/tests/SqlProjectionHibernate7Spec.groovy | 214 +++++++++
.../JpaCriteriaQueryCreatorSpec.groovy | 94 ++++
.../JpaProjectionTranslatorSpec.groovy | 67 +++
...ibernateCriteriaBuilderSqlProjectionSpec.groovy | 514 +++++++++++++++++++++
.../query/JpaProjectionAdapterSpec.groovy | 39 ++
.../orm/hibernate/query/JpaQueryContextSpec.groovy | 26 ++
.../orm/hibernate/query/SqlProjectionSpec.groovy | 118 +++++
.../docs/src/docs/asciidoc/querying/criteria.adoc | 64 +++
27 files changed, 1880 insertions(+), 29 deletions(-)
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/GrailsSqlProjectionFunction.java
copy
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/{GrailsSqlRestrictionFunctionContributor.java
=> GrailsSqlProjectionFunctionContributor.java} (79%)
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/SqlGroupProjection.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/SqlProjection.java
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/SqlProjectionHibernate7Spec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/orm/HibernateCriteriaBuilderSqlProjectionSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/query/SqlProjectionSpec.groovy