diff --git a/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java b/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java index 716cbd310..a60476bd5 100644 --- a/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java +++ b/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java @@ -63,7 +63,7 @@ public OracleConnectorConfig(String host, int port, String user, String password @Override public String getConnectionString() { - return OracleConstants.getConnectionString(database, host, getPort(), database); + return OracleConstants.getConnectionString(connectionType, host, getPort(), database); } @Name(OracleConstants.CONNECTION_TYPE)