Merge pull request #939 from siwuai/master

关系型数据库通用writer的jdbcUrl默认配置调用函数错误
This commit is contained in:
Trafalgar 2021-03-18 13:48:26 +08:00 committed by GitHub
commit 22946625d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ public final class OriginalConfPretreatmentUtil {
throw DataXException.asDataXException(DBUtilErrorCode.REQUIRED_VALUE, "您未配置的写入数据库表的 jdbcUrl."); throw DataXException.asDataXException(DBUtilErrorCode.REQUIRED_VALUE, "您未配置的写入数据库表的 jdbcUrl.");
} }
jdbcUrl = DATABASE_TYPE.appendJDBCSuffixForReader(jdbcUrl); jdbcUrl = DATABASE_TYPE.appendJDBCSuffixForWriter(jdbcUrl);
originalConfig.set(String.format("%s[%d].%s", Constant.CONN_MARK, i, Key.JDBC_URL), originalConfig.set(String.format("%s[%d].%s", Constant.CONN_MARK, i, Key.JDBC_URL),
jdbcUrl); jdbcUrl);