提交 e722514d 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #10217 from dbeaver/oracleviewddlfix#3419

#3419 getting ddl fixed

Former-commit-id: 3915a6a1
......@@ -184,6 +184,7 @@ public class OracleMaterializedView extends OracleTableBase implements OracleSou
query = OracleUtils.getDDL(monitor, getTableTypeName(), this, currentDDLFormat, options);
} else {
query = OracleUtils.getDDL(monitor, getTableTypeName(), this, newFormat, options);
currentDDLFormat = newFormat;
}
} catch (DBException e) {
String message = e.getMessage();
......
......@@ -133,6 +133,7 @@ public class OracleView extends OracleTableBase implements OracleSourceObject, D
viewText = OracleUtils.getDDL(monitor, getTableTypeName(), this, currentDDLFormat, options);
} else {
viewText = OracleUtils.getDDL(monitor, getTableTypeName(), this, newFormat, options);
currentDDLFormat = newFormat;
}
} catch (DBException e) {
log.warn("Error getting view definition from system package", e);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册