mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 04:08:31 +08:00
This commit is contained in:
parent
4bb85dd16b
commit
af9aedfd2d
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user