diff --git a/org.adempiere.base/src/org/compiere/util/DisplayType.java b/org.adempiere.base/src/org/compiere/util/DisplayType.java index 517d8f0d72..e7c5fb5c96 100644 --- a/org.adempiere.base/src/org/compiere/util/DisplayType.java +++ b/org.adempiere.base/src/org/compiere/util/DisplayType.java @@ -655,6 +655,9 @@ public final class DisplayType if (!DisplayType.isText(displayType)) s_log.severe("Unhandled Data Type = " + displayType); + if (columnName.endsWith("_ID")) + return "NUMBER(10)"; + return "VARCHAR2(" + fieldLength + ")"; } // getSQLDataType