From d9eeaf3aaa192aa74f2313ef593e1e28cfd5dcf1 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 11 Dec 2013 08:11:50 -0500 Subject: [PATCH] IDEMPIERE-1587 Error ORA-12704 for some columns --- org.adempiere.base/src/org/compiere/util/DisplayType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/util/DisplayType.java b/org.adempiere.base/src/org/compiere/util/DisplayType.java index 20fb8608d9..d121716163 100644 --- a/org.adempiere.base/src/org/compiere/util/DisplayType.java +++ b/org.adempiere.base/src/org/compiere/util/DisplayType.java @@ -605,7 +605,7 @@ public final class DisplayType if (fieldLength == 1) return "CHAR(" + fieldLength + ")"; else - return "NVARCHAR2(" + fieldLength + ")"; + return "VARCHAR2(" + fieldLength + ")"; } if (displayType == DisplayType.Color) // this condition is never reached - filtered above in isID { @@ -632,7 +632,7 @@ public final class DisplayType if (!DisplayType.isText(displayType)) s_log.severe("Unhandled Data Type = " + displayType); - return "NVARCHAR2(" + fieldLength + ")"; + return "VARCHAR2(" + fieldLength + ")"; } // getSQLDataType /**