Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: a3943e46762172bc76e2919b2ce445ad7390cf64
https://github.com/hibernate/hibernate-orm/commit/a3943e46762172bc76e2919...
Author: Luca Molteni <volothamp(a)gmail.com>
Date: 2026-05-20 (Wed, 20 May 2026)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java
A
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformerComponentHandler.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/hbm/transform/HbmXmlComponentVisitorTest.java
Log Message:
-----------
HHH-20384 Extract component handling from HbmXmlTransformer into
HbmXmlTransformerComponentHandler
Move applyEmbeddable, convertEmbeddable, transformEmbedded,
determineEmbeddableName, and the jaxbEmbeddableByClassName dedup map
into a new HbmXmlTransformerComponentHandler class. This class takes its
dependencies (embeddableInfoByRole map, mapping root, nested attribute
processor) as constructor parameters, allowing it to be used standalone
without a MetadataImplementor — e.g. at Quarkus build time to discover
embeddable class names from hbm.xml.
HbmXmlTransformer creates the handler in its constructor, passing
this::transferBaseAttributes as the nested processor, so the full
transformation behavior is unchanged.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications