java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java
branchv_0
changeset 106 e9c3583580c8
parent 104 245f1b88a3e6
child 139 5c0e344c3b60
--- a/java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java	Tue Dec 31 18:11:50 2013 +0100
+++ b/java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java	Wed Jan 01 01:06:38 2014 +0100
@@ -165,7 +165,7 @@
 			DatabaseDefinition dd = configurationProvider.getConfiguration().getDatabase(dbName);
 			log.log(Level.FINE, "Database definition was loaded from configuration");
 			succesfullyConfigured = true;
-			try (DatabaseConnection dc = dd.connect()) {
+			try (DatabaseConnection dc = dd.connect(options.getDatabaseProperties())) {
 				succesfullyConnected = dc.test();
 			}
 			log.log(Level.FINE, "Database connection test was successful");