Fix again [ 1686341 ] List Datatype bug
This commit is contained in:
parent
72632c33df
commit
220c7b8580
|
@ -419,8 +419,12 @@ public final class DisplayType
|
||||||
return "CLOB";
|
return "CLOB";
|
||||||
if (displayType == DisplayType.YesNo)
|
if (displayType == DisplayType.YesNo)
|
||||||
return "CHAR(1)";
|
return "CHAR(1)";
|
||||||
if (displayType == DisplayType.List)
|
if (displayType == DisplayType.List) {
|
||||||
return "CHAR(" + fieldLength + ")";
|
if (fieldLength == 1)
|
||||||
|
return "CHAR(" + fieldLength + ")";
|
||||||
|
else
|
||||||
|
return "NVARCHAR2(" + fieldLength + ")";
|
||||||
|
}
|
||||||
if (displayType == DisplayType.Color)
|
if (displayType == DisplayType.Color)
|
||||||
{
|
{
|
||||||
if (columnName.endsWith("_ID"))
|
if (columnName.endsWith("_ID"))
|
||||||
|
|
Loading…
Reference in New Issue