Skip to content

Commit cfc4374

Browse files
KaiSuchomelbeikov
authored andcommitted
HHH-17243 fixed Duration handling in MetadataBuildingProcess
1 parent 61ea1cd commit cfc4374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ public void contributeAttributeConverter(Class<? extends AttributeConverter<?, ?
672672
jdbcTypeRegistry,
673673
preferredSqlTypeCodeForDuration,
674674
Duration.class,
675-
"duration"
675+
Duration.class.getSimpleName(), Duration.class.getName()
676676
);
677677
}
678678
else {

0 commit comments

Comments
 (0)