Skip to content

Commit

Permalink
Double registration of DoubleArrayType in HibernateTypesContributor f…
Browse files Browse the repository at this point in the history
…or PostgreSQL82Dialect vladmihalcea#453
  • Loading branch information
OctoOsmo committed Jul 11, 2022
1 parent 54bd307 commit 6ce18b6
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -40,7 +40,6 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, EnumArrayType.INSTANCE)
.contributeType(typeContributions, IntArrayType.INSTANCE)
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, ListArrayType.INSTANCE)
.contributeType(typeContributions, LocalDateArrayType.INSTANCE)
.contributeType(typeContributions, LocalDateTimeArrayType.INSTANCE)
Expand Down Expand Up @@ -96,12 +95,12 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
/* JSON */
.contributeType(typeContributions, JsonType.INSTANCE);
}

private HibernateTypesContributor contributeType(TypeContributions typeContributions, BasicType type) {
typeContributions.contributeType(type);
return this;
}

private HibernateTypesContributor contributeType(TypeContributions typeContributions, UserType type) {
if(type instanceof ImmutableType) {
ImmutableType immutableType = (ImmutableType) type;
Expand Down

0 comments on commit 6ce18b6

Please sign in to comment.