提交 24ae171c 编写于 作者: S Serge Rider

#3704 Oracle DDL extraction fix

上级 dcae91fb
......@@ -70,9 +70,10 @@ public class OracleUtils {
try (final JDBCSession session = DBUtils.openMetaSession(monitor, dataSource, "Load source code for " + objectType + " '" + objectFullName + "'")) {
if (dataSource.isAtLeastV9()) {
try {
JDBCUtils.executeProcedure(
session,
"begin DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',true); end;");
// Do not add semicolon in the end
// JDBCUtils.executeProcedure(
// session,
// "begin DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',true); end;");
JDBCUtils.executeProcedure(
session,
"begin DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'STORAGE'," + ddlFormat.isShowStorage() + "); end;");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册