HHH-17351 Add missing basic type registration after changing preferred jdbc type
This commit is contained in:
parent
3a28e8bf3b
commit
588408c5f8
|
@ -646,7 +646,10 @@ public class MetadataBuildingProcess {
|
||||||
jdbcTypeRegistry,
|
jdbcTypeRegistry,
|
||||||
preferredSqlTypeCodeForUuid,
|
preferredSqlTypeCodeForUuid,
|
||||||
UUID.class,
|
UUID.class,
|
||||||
"uuid"
|
StandardBasicTypes.UUID.getName(),
|
||||||
|
"org.hibernate.type.PostgresUUIDType",
|
||||||
|
"uuid",
|
||||||
|
"pg-uuid"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -673,7 +676,8 @@ public class MetadataBuildingProcess {
|
||||||
jdbcTypeRegistry,
|
jdbcTypeRegistry,
|
||||||
preferredSqlTypeCodeForDuration,
|
preferredSqlTypeCodeForDuration,
|
||||||
Duration.class,
|
Duration.class,
|
||||||
StandardBasicTypes.DURATION.getName()
|
StandardBasicTypes.DURATION.getName(),
|
||||||
|
"org.hibernate.type.DurationType"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -730,8 +734,9 @@ public class MetadataBuildingProcess {
|
||||||
jdbcTypeRegistry,
|
jdbcTypeRegistry,
|
||||||
preferredSqlTypeCodeForInstant,
|
preferredSqlTypeCodeForInstant,
|
||||||
Instant.class,
|
Instant.class,
|
||||||
"instant",
|
StandardBasicTypes.INSTANT.getName(),
|
||||||
"org.hibernate.type.InstantType"
|
"org.hibernate.type.InstantType",
|
||||||
|
"instant"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue