提交 a4a9dbdd 编写于 作者: J jurgen

Data transfer mapping fix

Former-commit-id: 14c740ad
上级 f65c2d47
......@@ -209,6 +209,10 @@ class DatabaseMappingAttribute implements DatabaseMappingObject {
if (dataKind == DBPDataKind.STRING) {
typeName += "(" + source.getMaxLength() + ")";
} else if (dataKind == DBPDataKind.NUMERIC) {
if (typeName.equals("DECIMAL") && source.getMaxLength() > 0 && source.getScale() > 0) {
typeName += "(" + source.getMaxLength() + "," + source.getScale() + ")";
}
}
return typeName;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册