Procházet zdrojové kódy

【Bug】 OracleSouce edited again, ConnectionType is null (#13881)

AliceXiaoLu před 1 rokem
rodič
revize
dcf0109db3

+ 1 - 0
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-oracle/src/main/java/org/apache/dolphinscheduler/plugin/datasource/oracle/param/OracleDataSourceProcessor.java

@@ -56,6 +56,7 @@ public class OracleDataSourceProcessor extends AbstractDataSourceProcessor {
         oracleDatasourceParamDTO.setDatabase(connectionParams.getDatabase());
         oracleDatasourceParamDTO.setUserName(connectionParams.getUser());
         oracleDatasourceParamDTO.setOther(connectionParams.getOther());
+        oracleDatasourceParamDTO.setConnectType(connectionParams.getConnectType());
 
         String hostSeperator = Constants.DOUBLE_SLASH;
         if (DbConnectType.ORACLE_SID.equals(connectionParams.connectType)) {