Skip to content

Commit 84e7fc4

Browse files
committed
Put missing properties JdbcDatabaseContainer.createConnection
1 parent 43c6a97 commit 84e7fc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/jdbc/src/main/java/org/testcontainers/containers/JdbcDatabaseContainer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ public Connection createConnection(String queryString, Properties info)
266266
Properties properties = new Properties(info);
267267
properties.put("user", this.getUsername());
268268
properties.put("password", this.getPassword());
269+
properties.putAll(info);
269270
final String url = constructUrlForConnection(queryString);
270271

271272
final Driver jdbcDriverInstance = getJdbcDriverInstance();

0 commit comments

Comments
 (0)