File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/jdbc/src/main/java/org/testcontainers/containers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public Connection createConnection(String queryString) throws SQLException {
136136 final Properties info = new Properties ();
137137 info .put ("user" , this .getUsername ());
138138 info .put ("password" , this .getPassword ());
139- final String url = disableSSL (this .getJdbcUrl () + queryString );
139+ final String url = appendDisableSslConfig (this .getJdbcUrl () + queryString );
140140
141141 final Driver jdbcDriverInstance = getJdbcDriverInstance ();
142142
@@ -147,7 +147,7 @@ public Connection createConnection(String queryString) throws SQLException {
147147 }
148148 }
149149
150- private String disableSSL (String connectionString ){
150+ private String appendDisableSslConfig (String connectionString ){
151151 String separator = connectionString .contains ("?" ) ? "&" : "?" ;
152152 return connectionString + separator + "useSSL=false" ;
153153 }
You can’t perform that action at this time.
0 commit comments