From 6887ca78a553a607b5d16575916a51303501d205 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Tue, 10 Oct 2023 10:44:44 +0200 Subject: [PATCH] Replace java.rmi.server.UID with UUID. Closes #1635 --- .../data/relational/core/dialect/PostgresDialect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/PostgresDialect.java b/spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/PostgresDialect.java index 2c8cdb03fc..2ca5ea37a3 100644 --- a/spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/PostgresDialect.java +++ b/spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/PostgresDialect.java @@ -18,12 +18,12 @@ import java.net.InetAddress; import java.net.URI; import java.net.URL; -import java.rmi.server.UID; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; +import java.util.UUID; import org.springframework.data.relational.core.sql.Functions; import org.springframework.data.relational.core.sql.IdentifierProcessing; @@ -51,7 +51,7 @@ public class PostgresDialect extends AbstractDialect { */ public static final PostgresDialect INSTANCE = new PostgresDialect(); - private static final Set> POSTGRES_SIMPLE_TYPES = Set.of(UID.class, URL.class, URI.class, InetAddress.class, + private static final Set> POSTGRES_SIMPLE_TYPES = Set.of(UUID.class, URL.class, URI.class, InetAddress.class, Map.class); protected PostgresDialect() {}