IDEMPIERE-1587 Error ORA-12704 for some columns

This commit is contained in:
Carlos Ruiz 2013-12-11 08:11:50 -05:00
parent 486836db27
commit d9eeaf3aaa
1 changed files with 2 additions and 2 deletions

View File

@ -605,7 +605,7 @@ public final class DisplayType
if (fieldLength == 1) if (fieldLength == 1)
return "CHAR(" + fieldLength + ")"; return "CHAR(" + fieldLength + ")";
else else
return "NVARCHAR2(" + fieldLength + ")"; return "VARCHAR2(" + fieldLength + ")";
} }
if (displayType == DisplayType.Color) // this condition is never reached - filtered above in isID 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)) if (!DisplayType.isText(displayType))
s_log.severe("Unhandled Data Type = " + displayType); s_log.severe("Unhandled Data Type = " + displayType);
return "NVARCHAR2(" + fieldLength + ")"; return "VARCHAR2(" + fieldLength + ")";
} // getSQLDataType } // getSQLDataType
/** /**