Branch: refs/heads/8.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 98da39efee9bb88fc43560bbb78aa4c9f00a35f3
https://github.com/hibernate/hibernate-orm/commit/98da39efee9bb88fc43560b...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/HbmTransformationJaxbTests.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/recursivecomponent/MyComponent.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/recursivecomponent/MyEntity.java
A hibernate-core/src/test/resources/xml/jaxb/mapping/recursive-component/hbm.xml
Log Message:
-----------
HHH-20600 Add test for recursive component transformation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Commit: 22d8ad090ac2ba4f56f5029e96d7b242db3776c6
https://github.com/hibernate/hibernate-orm/commit/22d8ad090ac2ba4f56f5029...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java
M
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformerComponentHandler.java
M
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/TransformationHelper.java
Log Message:
-----------
HHH-20600 Generate <transient/> for unmapped embeddable properties
Extract shared transient-discovery logic into
TransformationHelper.discoverUnmappedPropertyNames() and reuse it
from both HbmXmlTransformer (entity transients) and
HbmXmlTransformerComponentHandler (embeddable transients).
Without this, unmapped properties on embeddable classes (like a
self-referencing FooComponent.subcomponent) are not declared as
<transient/> in the generated orm.xml. While the transformer now
generates correct XML with <transient name="subcomponent"/>, the
orm.xml reader (EmbeddableBinder) still detects recursion by
scanning the Java class before processing transient declarations —
that is a separate issue.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Compare:
https://github.com/hibernate/hibernate-orm/compare/628e8d42b56d...22d8ad0...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications