java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java
branchv_0
changeset 104 245f1b88a3e6
parent 101 97b0d9069133
child 106 e9c3583580c8
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java	Mon Dec 30 23:46:41 2013 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java	Tue Dec 31 17:35:33 2013 +0100
     1.3 @@ -141,7 +141,7 @@
     1.4  		FormatterDefinition fd = configuration.getFormatter(options.getFormatterName());
     1.5  		try (DatabaseConnection c = dd.connect()) {
     1.6  			log.log(Level.FINE, "Database connected");
     1.7 -			try (Formatter f = fd.getInstance(new FormatterContext(options.getOutputStream()))) {
     1.8 +			try (Formatter f = fd.getInstance(new FormatterContext(options.getOutputStream(), options.getFormatterProperties()))) {
     1.9  				c.executeQuery(options.getSQLCommand(), f);
    1.10  			}
    1.11  		}