Branch: refs/heads/8.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 931c7ef191eca13e39acb96e1079083b0f3b3c2d
https://github.com/hibernate/hibernate-orm/commit/931c7ef191eca13e39acb96...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-19 (Fri, 19 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/nonaggregatekeymanytoone/Detail.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/nonaggregatekeymanytoone/Master.java
A
hibernate-core/src/test/resources/xml/jaxb/mapping/non-aggregate-key-many-to-one/hbm.xml
Log Message:
-----------
HHH-20596 Add test for issue
Commit: c4d74a9ebacf71d90f1ff26df2e73c063a792846
https://github.com/hibernate/hibernate-orm/commit/c4d74a9ebacf71d90f1ff26...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-19 (Fri, 19 Jun 2026)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/BootModelPreprocessor.java
M
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java
Log Message:
-----------
HHH-20596 Fix HbmXmlTransformer non-aggregated composite-id transient and mapped-by
Three fixes for non-aggregated composite-id transformation:
1. HbmXmlTransformer.transferTransients() now includes composite-id
property names in mappedPropertyNames, preventing them from being
incorrectly marked as <transient/>.
2. HbmXmlTransformer.transferNonAggregatedCompositeId() now handles
key-many-to-one by producing a many-to-one with id="true".
3. BootModelPreprocessor.registerCompositeIdMappableAttributes() uses
null prefix for non-aggregated composite-id (properties are directly
on the entity) vs "id." prefix for aggregated (properties nested
inside an embeddable).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Compare:
https://github.com/hibernate/hibernate-orm/compare/6e77b930b897...c4d74a9...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications