1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java Tue Dec 31 18:11:50 2013 +0100
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/InfoLister.java Wed Jan 01 01:06:38 2014 +0100
1.3 @@ -165,7 +165,7 @@
1.4 DatabaseDefinition dd = configurationProvider.getConfiguration().getDatabase(dbName);
1.5 log.log(Level.FINE, "Database definition was loaded from configuration");
1.6 succesfullyConfigured = true;
1.7 - try (DatabaseConnection dc = dd.connect()) {
1.8 + try (DatabaseConnection dc = dd.connect(options.getDatabaseProperties())) {
1.9 succesfullyConnected = dc.test();
1.10 }
1.11 log.log(Level.FINE, "Database connection test was successful");