java/sql-dk/src/main/java/info/globalcode/sql/dk/InfoLister.java
branchv_0
changeset 246 277c18b48762
parent 238 4a1864c3e867
child 250 aae5009bd0af
     1.1 --- a/java/sql-dk/src/main/java/info/globalcode/sql/dk/InfoLister.java	Tue Mar 05 21:22:33 2019 +0100
     1.2 +++ b/java/sql-dk/src/main/java/info/globalcode/sql/dk/InfoLister.java	Tue Mar 05 22:03:02 2019 +0100
     1.3 @@ -172,7 +172,7 @@
     1.4  	private boolean isInstantiable(FormatterDefinition fd) {
     1.5  		try {
     1.6  			try (ByteArrayOutputStream testStream = new ByteArrayOutputStream()) {
     1.7 -				fd.getInstance(new FormatterContext(testStream, new Properties(0)));
     1.8 +				fd.getInstance(new FormatterContext(testStream, new Properties(0), null));
     1.9  				return true;
    1.10  			}
    1.11  		} catch (Exception e) {
    1.12 @@ -558,7 +558,7 @@
    1.13  		String formatterName = options.getFormatterName();
    1.14  		formatterName = formatterName == null ? Configuration.DEFAULT_FORMATTER_PREFETCHING : formatterName;
    1.15  		FormatterDefinition fd = configurationProvider.getConfiguration().getFormatter(formatterName);
    1.16 -		FormatterContext context = new FormatterContext(out, options.getFormatterProperties());
    1.17 +		FormatterContext context = new FormatterContext(out, options.getFormatterProperties(), options.getRelationNames());
    1.18  		return fd.getInstance(context);
    1.19  	}
    1.20