From f0bbcfb54df34e138e111d8e3ca387a12667192f Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Sat, 24 Mar 2007 07:27:05 +0000 Subject: [PATCH] BF [ 1686341 ] List Datatype bug http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1686341&group_id=176962 --- dbPort/src/org/compiere/model/MColumn.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbPort/src/org/compiere/model/MColumn.java b/dbPort/src/org/compiere/model/MColumn.java index c78a080d9b..5c7d95b1cf 100644 --- a/dbPort/src/org/compiere/model/MColumn.java +++ b/dbPort/src/org/compiere/model/MColumn.java @@ -411,7 +411,7 @@ public class MColumn extends X_AD_Column if (dt == DisplayType.YesNo) return "CHAR(1)"; if (dt == DisplayType.List) - return "CHAR(" + getFieldLength() + ")"; + return "NVARCHAR2(" + getFieldLength() + ")"; else if (!DisplayType.isText(dt)) log.severe("Unhandled Data Type = " + dt);