Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: d658cde39c90ccd9a7a00b1eff3650b44b922510
https://github.com/hibernate/hibernate-orm/commit/d658cde39c90ccd9a7a00b1...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-07-25 (Sat, 25 Jul 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/unmappedsuperclass/AbstractBase.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/unmappedsuperclass/AnotherEntity.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/unmappedsuperclass/ConcreteEntity.java
A hibernate-core/src/test/resources/xml/jaxb/mapping/unmapped-superclass/hbm.xml
Log Message:
-----------
HHH-20715 Add tes for issue
Commit: 1e6a7d70e3b12b16999671c42385b466e7117126
https://github.com/hibernate/hibernate-orm/commit/1e6a7d70e3b12b16999671c...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-07-25 (Sat, 25 Jul 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/TransformationHelper.java
Log Message:
-----------
HHH-20715 HbmXmlTransformer does not generate mapped-superclass for entities with
inherited members
When an entity maps properties whose Java member is declared on a plain
superclass (not a mapped entity), the transformer now generates a
<mapped-superclass metadata-complete="true"> for that superclass and
moves the inherited attributes from the entity to the mapped-superclass.
Unmapped superclass properties are declared as <transient/>.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Compare:
https://github.com/hibernate/hibernate-orm/compare/722e535e96fe...1e6a7d7...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications