diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java b/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java index f21a92ed3a..8d5224ecbc 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java @@ -672,7 +672,7 @@ public class MetadataBuildingProcess { jdbcTypeRegistry, preferredSqlTypeCodeForDuration, Duration.class, - "duration" + Duration.class.getSimpleName(), Duration.class.getName() ); } else {