You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by bo...@apache.org on 2026/03/20 19:34:11 UTC
(grails-core) 09/11: hibernate 7:
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 614ad1374ceadc6a9ca89d55fca192d1b3930c65
Author: Walter Duque de Estrada <wb...@mac.com>
AuthorDate: Fri Mar 20 08:31:32 2026 -0500
hibernate 7:
HibernateMappingFactorySpec lines up with reality
---
grails-data-hibernate7/core/ISSUES.md | 1 -
.../test/groovy/grails/gorm/specs/HibernateMappingFactorySpec.groovy | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/grails-data-hibernate7/core/ISSUES.md b/grails-data-hibernate7/core/ISSUES.md
index b7e1d73a9a..aa3bad033a 100644
--- a/grails-data-hibernate7/core/ISSUES.md
+++ b/grails-data-hibernate7/core/ISSUES.md
@@ -6,7 +6,6 @@ BasicCollectionInQuerySpec
ByteBuddyGroovyInterceptorSpec
DetachedAssociationFunctionSpec
DetachedCriteriaProjectionAliasSpec
-HibernateMappingFactorySpec
HibernateProxyHandler7Spec
WhereQueryOldIssueVerificationSpec
diff --git a/grails-data-hibernate7/core/src/test/groovy/grails/gorm/specs/HibernateMappingFactorySpec.groovy b/grails-data-hibernate7/core/src/test/groovy/grails/gorm/specs/HibernateMappingFactorySpec.groovy
index 3e9db5e60f..00c10fd6a4 100644
--- a/grails-data-hibernate7/core/src/test/groovy/grails/gorm/specs/HibernateMappingFactorySpec.groovy
+++ b/grails-data-hibernate7/core/src/test/groovy/grails/gorm/specs/HibernateMappingFactorySpec.groovy
@@ -135,7 +135,7 @@ class HibernateMappingFactorySpec extends HibernateGormDatastoreSpec {
PersistentEntity entity = mappingContext.getPersistentEntity(MappingFactoryBook.name)
then:
- entity.mapping.identifier.generator == ValueGenerator.NATIVE
+ entity.mapping.identifier.generator == ValueGenerator.IDENTITY
}
void "createIdentityMapping resolves CUSTOM generator for a custom class name"() {