--- 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");