Kevin.Shin 2022-03-17 11:10:39 +08:00 committed by GitHub
parent 4bb85dd16b
commit af9aedfd2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ package org.apache.dolphinscheduler.plugin.datasource.oracle;
import org.apache.dolphinscheduler.plugin.datasource.api.client.CommonDataSourceClient;
import org.apache.dolphinscheduler.spi.datasource.BaseConnectionParam;
import org.apache.dolphinscheduler.spi.enums.DbType;
import org.apache.dolphinscheduler.spi.utils.Constants;
public class OracleDataSourceClient extends CommonDataSourceClient {
@ -27,4 +28,8 @@ public class OracleDataSourceClient extends CommonDataSourceClient {
super(baseConnectionParam, dbType);
}
protected void setDefaultValidationQuery(BaseConnectionParam baseConnectionParam) {
baseConnectionParam.setValidationQuery(Constants.ORACLE_VALIDATION_QUERY);
}
}