Skip to content

Commit

Permalink
UUID field type mapping - PostgreSQLPlatform (eclipse-ee4j#2284) - ba…
Browse files Browse the repository at this point in the history
…ckport from master (eclipse-ee4j#2325)


Signed-off-by: Radek Felcman <[email protected]>
(cherry picked from commit 28ffe73)
  • Loading branch information
rfelcman authored Dec 13, 2024
1 parent 3e1380a commit 73a4c11
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) 1998, 2023 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2023 IBM Corporation. All rights reserved.
* Copyright (c) 1998, 2024 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2024 IBM Corporation. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -440,6 +440,8 @@ protected Hashtable<Class<?>, FieldTypeDefinition> buildFieldTypes() {
fieldTypeMapping.put(java.time.OffsetDateTime.class, new FieldTypeDefinition("TIMESTAMP", false));
fieldTypeMapping.put(java.time.OffsetTime.class, new FieldTypeDefinition("TIME", false));

fieldTypeMapping.put(java.util.UUID.class, new FieldTypeDefinition("UUID", false));

return fieldTypeMapping;
}

Expand Down

0 comments on commit 73a4c11

Please sign in to comment.