Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 0b475e0fdd6f7d1c5723222bb15576fdf7155736
https://github.com/hibernate/hibernate-orm/commit/0b475e0fdd6f7d1c5723222...
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: e21e09ad8b1b336cfad7e73e817338f40b836de8
https://github.com/hibernate/hibernate-orm/commit/e21e09ad8b1b336cfad7e73...
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/fb79b2708401...e21e09a...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications