Skip to content

Commit aa15d89

Browse files
authored
Update JdbcConfiguration.java
1 parent a372769 commit aa15d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jdbc-v2/src/main/java/com/clickhouse/jdbc/internal/JdbcConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public JdbcConfiguration(String url, Properties info) throws SQLException {
6161
initProperties(urlProperties, info);
6262

6363
// after initializing all properties - set final connection URL
64-
boolean useSSL = Boolean.parseBoolean(clientProperties.getOrDefault(DriverProperties.SECURE_CONNECTION.getKey(), "false"));
64+
boolean useSSL = Boolean.parseBoolean(info.getProperty(DriverProperties.SECURE_CONNECTION.getKey(), "false"));
6565
String bearerToken = info.getProperty(ClientConfigProperties.BEARERTOKEN_AUTH.getKey(), null);
6666
if (bearerToken != null) {
6767
clientProperties.put(ClientConfigProperties.BEARERTOKEN_AUTH.getKey(), bearerToken);

0 commit comments

Comments
 (0)