Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 29145b6bb233d3b31d852d1aca839abf7d0dee8a
https://github.com/hibernate/hibernate-orm/commit/29145b6bb233d3b31d852d1...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/ConverterEntity.java
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/Money.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/MoneyConverter.java
A hibernate-core/src/test/resources/xml/jaxb/mapping/converter/hbm.xml
Log Message:
-----------
HHH-20666 Add test for issue
The transformer generates unnecessary java-type and jdbc-type-code for
properties using converted:: types. When a <convert> element is present,
the converter itself provides all type information and the explicit type
hints cause InstantiationException at boot time.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Commit: 3f5f72b5b2a6c457a5e847c2202299a063ccad7d
https://github.com/hibernate/hibernate-orm/commit/3f5f72b5b2a6c457a5e847c...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java
Log Message:
-----------
HHH-20666 HbmXmlTransformer generates invalid java-type and jdbc-type-code for converted
properties
When a property uses converted:: type, the converter provides all type
information. The transformer was emitting UnknownBasicJavaType as
java-type and a jdbc-type-code, which caused InstantiationException
when the generated orm.xml was loaded directly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Compare:
https://github.com/hibernate/hibernate-orm/compare/0166ab8fde01...3f5f72b...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications