This is an automated email from the ASF dual-hosted git repository. borinquenkid pushed a commit to branch 8.0.x-hibernate7-dev in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit a571c7c47715dadf88ea9f2f97e7781795bfd9c6 Author: Walter Duque de Estrada <[email protected]> AuthorDate: Thu Mar 19 21:44:47 2026 -0500 hibernate 7: HibernateQuerySpec fixed to implementation --- grails-data-hibernate7/core/ISSUES.md | 12 +++++++++++- .../grails/orm/hibernate/HibernateGormStaticApiSpec.groovy | 8 ++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/grails-data-hibernate7/core/ISSUES.md b/grails-data-hibernate7/core/ISSUES.md index 6fe6dd9540..d27598ec91 100644 --- a/grails-data-hibernate7/core/ISSUES.md +++ b/grails-data-hibernate7/core/ISSUES.md @@ -1,7 +1,17 @@ # Known Issues in Hibernate 7 Migration - +## Failing Tests +BasicCollectionInQuerySpec +ByteBuddyGroovyInterceptorSpec +DetachedAssociationFunctionSpec +HibernateMappingFactorySpec +HibernateProxyHandler7Spec +JpaCriteriaQueryCreatorSpec +JpaFromProviderSpec +PredicateGeneratorSpec +WhereQueryBugFixSpec +WhereQueryOldIssueVerificationSpec ### 3. ByteBuddy Proxy Initialization & Interception diff --git a/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/HibernateGormStaticApiSpec.groovy b/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/HibernateGormStaticApiSpec.groovy index 4c3baaa0d3..116b59943b 100644 --- a/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/HibernateGormStaticApiSpec.groovy +++ b/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/HibernateGormStaticApiSpec.groovy @@ -222,10 +222,10 @@ class HibernateGormStaticApiSpec extends HibernateGormDatastoreSpec { when: String hql = "select name from HibernateGormStaticApiEntity" - def results = HibernateGormStaticApiEntity.executeQuery(hql) + HibernateGormStaticApiEntity.executeQuery(hql) then: - results.size() == 2 + thrown(UnsupportedOperationException) } void "Test executeUpdate with plain String"() { @@ -234,10 +234,10 @@ class HibernateGormStaticApiSpec extends HibernateGormDatastoreSpec { when: String hql = "update HibernateGormStaticApiEntity set name = 'updated'" - int updated = HibernateGormStaticApiEntity.executeUpdate(hql) + HibernateGormStaticApiEntity.executeUpdate(hql) then: - updated == 1 + thrown(UnsupportedOperationException) }
