We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6658a2c commit b514d8eCopy full SHA for b514d8e
modules/jdbc/src/main/java/org/testcontainers/containers/JdbcDatabaseContainer.java
@@ -207,6 +207,17 @@ public Driver getJdbcDriverInstance() throws NoDriverFoundException {
207
return driver;
208
}
209
210
+ /**
211
+ * Creates a connection to the underlying containerized database
212
+ * instance without any parameters.
213
+ *
214
+ * @return a Connection
215
+ * @throws SQLException if there is a repeated failure to create the connection
216
+ */
217
+ public Connection createConnection() throws SQLException, NoDriverFoundException {
218
+ return createConnection("");
219
+ }
220
+
221
/**
222
* Creates a connection to the underlying containerized database instance.
223
*
0 commit comments