Skip to content

Commit

Permalink
Update SqlConnection.java
Browse files Browse the repository at this point in the history
When you use service_name to connect to oracle, should pass in serviceName instead of database
  • Loading branch information
chengrui1 authored Oct 23, 2023
1 parent ec9d7f5 commit a126353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private Connection getDBConnection(
SQL_CONNECT_SERVICE_URL.getValue(),
connectMessage.host,
connectMessage.port,
database);
serviceName);
}

if (MapUtils.isNotEmpty(connectMessage.extraParams)) {
Expand Down

0 comments on commit a126353

Please sign in to comment.