Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 5c2a73935c232c96dc27764fbef49edd2117665a
https://github.com/hibernate/hibernate-orm/commit/5c2a73935c232c96dc27764...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/HbmTransformationJaxbTests.java
A hibernate-core/src/test/resources/xml/jaxb/mapping/property-unique/hbm.xml
Log Message:
-----------
HHH-20673 Add test for issue
The transformer does not generate a column element with unique=true
when the hbm property has unique="true" and no explicit column name.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Commit: 1269a15ac832751164e658b7a3020b127c4bff10
https://github.com/hibernate/hibernate-orm/commit/1269a15ac832751164e658b...
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-20673 HbmXmlTransformer drops unique and not-null constraints for properties without
explicit column
When a property has unique="true" or not-null="true" but no explicit
column name, the transformer must still generate a <column> element
to carry the unique/nullable attributes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Compare:
https://github.com/hibernate/hibernate-orm/compare/74b6a1e53059...1269a15...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications