This is an automated email from the ASF dual-hosted git repository. borinquenkid pushed a commit to branch 8.0.x-hibernate7 in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 81aef5cee55a92546efdfa2f0b9c1b1717c585f4 Author: Walter Duque de Estrada <[email protected]> AuthorDate: Wed Feb 4 16:23:13 2026 -0600 GrailsPropertyBinder --- .../cfg/GrailsHibernatePersistentPropertySpec.groovy | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/GrailsHibernatePersistentPropertySpec.groovy b/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/GrailsHibernatePersistentPropertySpec.groovy index c8510c8b3e..3b7ce0fd1c 100644 --- a/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/GrailsHibernatePersistentPropertySpec.groovy +++ b/grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/GrailsHibernatePersistentPropertySpec.groovy @@ -68,6 +68,8 @@ class GrailsHibernatePersistentPropertySpec extends HibernateGormDatastoreSpec { property.isEmbedded() } + + void "test getTypeName()"() { given: PersistentEntity entity = createPersistentEntity(TestEntityWithTypeName) @@ -134,13 +136,23 @@ class TestEntityWithSerializable { } @Entity + class TestEntityWithEmbedded { + Long id + Address address + static embedded = ['address'] + } + + @Entity + class Address { + String city + }
