From 62c7256fb324301ea8278d9b0768b0b1d5eb11bc Mon Sep 17 00:00:00 2001 From: ThuF Date: Mon, 10 Jan 2022 17:53:47 +0200 Subject: [PATCH] Updates DBMetadataUtil SQL_TO_ODATA_EDM_TYPES --- .../dirigible/engine/odata2/transformers/DBMetadataUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/engines/engine-odata/src/main/java/org/eclipse/dirigible/engine/odata2/transformers/DBMetadataUtil.java b/modules/engines/engine-odata/src/main/java/org/eclipse/dirigible/engine/odata2/transformers/DBMetadataUtil.java index 651128d96f0..a669274936d 100644 --- a/modules/engines/engine-odata/src/main/java/org/eclipse/dirigible/engine/odata2/transformers/DBMetadataUtil.java +++ b/modules/engines/engine-odata/src/main/java/org/eclipse/dirigible/engine/odata2/transformers/DBMetadataUtil.java @@ -66,6 +66,7 @@ public class DBMetadataUtil { SQL_TO_ODATA_EDM_TYPES.put("DOUBLE", "Edm.Double"); SQL_TO_ODATA_EDM_TYPES.put("VARCHAR", "Edm.String"); SQL_TO_ODATA_EDM_TYPES.put("NVARCHAR", "Edm.String"); + SQL_TO_ODATA_EDM_TYPES.put("CHARACTER VARYING", "Edm.String"); SQL_TO_ODATA_EDM_TYPES.put("CHAR", "Edm.String"); SQL_TO_ODATA_EDM_TYPES.put("NCHAR", "Edm.String"); SQL_TO_ODATA_EDM_TYPES.put("BINARY", "Edm.Binary");