[hibernate/hibernate-orm] 29145b: HHH-20666 Add test for issue
by Andrea Boriero
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
1 day, 17 hours
[hibernate/hibernate-orm] 3a65d0: HHH-20666 Add test for issue
by Andrea Boriero
Branch: refs/heads/8.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 3a65d06d36c9f395f169882b386db00273100ddf
https://github.com/hibernate/hibernate-orm/commit/3a65d06d36c9f395f169882...
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: c21951178126de4ddf9286f1c71b0e8c8eac7eae
https://github.com/hibernate/hibernate-orm/commit/c21951178126de4ddf9286f...
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/fb69c4ff4646...c219511...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
1 day, 17 hours