提交 50b99a89 编写于 作者: S SA357

Oracle view DDL #8765

used CommonUtils.getBoolean
上级 d3291dfd
......@@ -122,14 +122,12 @@ public class OracleView extends OracleTableBase implements OracleSourceObject, D
log.warn("Error getting view definition from system package", e);
}
}
Boolean isCompact = (Boolean) options.get("script.format.compact");
if (isCompact != null) {
if (!isCompact) {
if (viewFullText == null){
viewFullText = OracleUtils.getDDL(monitor, getTableTypeName(), this, OracleDDLFormat.FULL, options);
}
return viewFullText;
boolean isCompact = CommonUtils.getBoolean(options.get(OPTION_SCRIPT_FORMAT_COMPACT), true);
if (!isCompact) {
if (viewFullText == null){
viewFullText = OracleUtils.getDDL(monitor, getTableTypeName(), this, OracleDDLFormat.FULL, options);
}
return viewFullText;
}
return viewText;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册