Skip to content

Commit

Permalink
[panama-sdkv2-gdcv2] Fix Db2 JDBC Connection String (#2395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jithendar12 authored Nov 15, 2024
1 parent d162972 commit 2e2ecf2
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

import java.util.Map;

import static com.amazonaws.athena.connector.lambda.connection.EnvironmentConstants.DATABASE;

public class Db2EnvironmentProperties extends JdbcEnvironmentProperties
{
@Override
Expand All @@ -34,9 +32,9 @@ protected String getConnectionStringPrefix(Map<String, String> connectionPropert
}

@Override
protected String getDatabase(Map<String, String> connectionProperties)
protected String getJdbcParametersSeparator()
{
return ":" + connectionProperties.get(DATABASE);
return ":";
}

@Override
Expand Down

0 comments on commit 2e2ecf2

Please sign in to comment.