This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 8.0.x-hibernate7
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 4567e30534 Remove unnecessary files
add d959e4e418 Expand test coverage for extending the criteria
implementation with a groovy extension
add 5436ff0dce Add more build directories to rat ignore config
add c327b2edaf Merge branch '8.0.x-stage-hibernate7' into 8.0.x-hibernate7
add 48f557a793 Update hibernate 7 code to allow for extensions like the
hibernate 5 code did
No new revisions were added by this update.
Summary of changes:
gradle/rat-root-config.gradle | 2 +
.../orm/hibernate/query/PredicateGenerator.java | 95 ++++++++
.../build.gradle | 12 +-
.../grails-app/conf/application.yml | 22 +-
.../grails-app/conf/logback.xml | 0
.../grails-app/domain/example/Product.groovy} | 10 +-
.../grails-app/init/example/Application.groovy | 1 -
.../grails-app/init/example/BootStrap.groovy | 0
.../services/example/ProductSearchService.groovy | 64 ++++++
.../groovy/example/CriteriaExtensionSpec.groovy | 247 +++++++++++++++++++++
.../extensions/CriteriaBuilderExtensions.groovy | 57 +++++
.../example/query/NumberLikeExpression.groovy | 68 ++++++
.../HibernateCriteriaBuilderExtensions.groovy | 72 ++++++
.../org.codehaus.groovy.runtime.ExtensionModule | 3 +
.../groovy/example/NumberLikeExpressionSpec.groovy | 110 +++++++++
.../build.gradle | 10 +-
.../grails-app/conf/application.yml | 22 +-
.../grails-app/conf/logback.xml | 0
.../grails-app/domain/example/Product.groovy} | 10 +-
.../grails-app/init/example/Application.groovy | 1 -
.../grails-app/init/example/BootStrap.groovy | 0
.../services/example/ProductSearchService.groovy | 65 ++++++
.../groovy/example/CriteriaExtensionSpec.groovy | 247 +++++++++++++++++++++
.../extensions/CriteriaBuilderExtensions.groovy | 60 +++++
.../HibernateCriteriaBuilderExtensions.groovy | 62 ++++++
.../example/query/NumberLikeCriterion.groovy | 30 +--
.../NumberLikeCriterionHandlerProvider.groovy | 48 ++++
.../org.codehaus.groovy.runtime.ExtensionModule | 3 +
...ery.PredicateGenerator$CriterionHandlerProvider | 1 +
.../groovy/example/NumberLikeCriterionSpec.groovy | 45 ++--
settings.gradle | 83 +------
31 files changed, 1274 insertions(+), 176 deletions(-)
copy grails-test-examples/hibernate5/{grails-data-service =>
criteria-extension}/build.gradle (87%)
copy grails-test-examples/{hibernate7/grails-data-service =>
hibernate5/criteria-extension}/grails-app/conf/application.yml (79%)
copy grails-test-examples/{database-cleanup =>
hibernate5/criteria-extension}/grails-app/conf/logback.xml (100%)
copy
grails-test-examples/{database-cleanup/grails-app/domain/dbcleanup/Author.groovy
=> hibernate5/criteria-extension/grails-app/domain/example/Product.groovy}
(92%)
copy grails-test-examples/hibernate5/{grails-data-service =>
criteria-extension}/grails-app/init/example/Application.groovy (99%)
copy grails-test-examples/hibernate5/{grails-data-service =>
criteria-extension}/grails-app/init/example/BootStrap.groovy (100%)
create mode 100644
grails-test-examples/hibernate5/criteria-extension/grails-app/services/example/ProductSearchService.groovy
create mode 100644
grails-test-examples/hibernate5/criteria-extension/src/integration-test/groovy/example/CriteriaExtensionSpec.groovy
create mode 100644
grails-test-examples/hibernate5/criteria-extension/src/main/groovy/example/extensions/CriteriaBuilderExtensions.groovy
create mode 100644
grails-test-examples/hibernate5/criteria-extension/src/main/groovy/example/query/NumberLikeExpression.groovy
create mode 100644
grails-test-examples/hibernate5/criteria-extension/src/main/groovy/org/grails/orm/hibernate/query/HibernateCriteriaBuilderExtensions.groovy
create mode 100644
grails-test-examples/hibernate5/criteria-extension/src/main/resources/META-INF/groovy/org.codehaus.groovy.runtime.ExtensionModule
create mode 100644
grails-test-examples/hibernate5/criteria-extension/src/test/groovy/example/NumberLikeExpressionSpec.groovy
copy grails-test-examples/hibernate7/{grails-data-service =>
criteria-extension}/build.gradle (90%)
copy grails-test-examples/hibernate7/{grails-data-service =>
criteria-extension}/grails-app/conf/application.yml (79%)
copy grails-test-examples/{database-cleanup =>
hibernate7/criteria-extension}/grails-app/conf/logback.xml (100%)
copy
grails-test-examples/{database-cleanup/grails-app/domain/dbcleanup/Author.groovy
=> hibernate7/criteria-extension/grails-app/domain/example/Product.groovy}
(92%)
copy grails-test-examples/{hibernate5/grails-data-service =>
hibernate7/criteria-extension}/grails-app/init/example/Application.groovy (99%)
copy grails-test-examples/{hibernate5/grails-data-service =>
hibernate7/criteria-extension}/grails-app/init/example/BootStrap.groovy (100%)
create mode 100644
grails-test-examples/hibernate7/criteria-extension/grails-app/services/example/ProductSearchService.groovy
create mode 100644
grails-test-examples/hibernate7/criteria-extension/src/integration-test/groovy/example/CriteriaExtensionSpec.groovy
create mode 100644
grails-test-examples/hibernate7/criteria-extension/src/main/groovy/example/extensions/CriteriaBuilderExtensions.groovy
create mode 100644
grails-test-examples/hibernate7/criteria-extension/src/main/groovy/example/extensions/HibernateCriteriaBuilderExtensions.groovy
copy
grails-datamapping-rx/src/main/groovy/org/grails/datastore/rx/query/event/PostQueryEvent.groovy
=>
grails-test-examples/hibernate7/criteria-extension/src/main/groovy/example/query/NumberLikeCriterion.groovy
(53%)
create mode 100644
grails-test-examples/hibernate7/criteria-extension/src/main/groovy/example/query/NumberLikeCriterionHandlerProvider.groovy
create mode 100644
grails-test-examples/hibernate7/criteria-extension/src/main/resources/META-INF/groovy/org.codehaus.groovy.runtime.ExtensionModule
create mode 100644
grails-test-examples/hibernate7/criteria-extension/src/main/resources/META-INF/services/org.grails.orm.hibernate.query.PredicateGenerator$CriterionHandlerProvider
copy
grails-data-neo4j/examples/test-data-service/src/integration-test/groovy/example/TestServiceSpec.groovy
=>
grails-test-examples/hibernate7/criteria-extension/src/test/groovy/example/NumberLikeCriterionSpec.groovy
(50%)