--- a/java/sql-dk/src/main/java/info/globalcode/sql/dk/InfoLister.java Tue Mar 05 21:22:33 2019 +0100
+++ b/java/sql-dk/src/main/java/info/globalcode/sql/dk/InfoLister.java Tue Mar 05 22:03:02 2019 +0100
@@ -172,7 +172,7 @@
private boolean isInstantiable(FormatterDefinition fd) {
try {
try (ByteArrayOutputStream testStream = new ByteArrayOutputStream()) {
- fd.getInstance(new FormatterContext(testStream, new Properties(0)));
+ fd.getInstance(new FormatterContext(testStream, new Properties(0), null));
return true;
}
} catch (Exception e) {
@@ -558,7 +558,7 @@
String formatterName = options.getFormatterName();
formatterName = formatterName == null ? Configuration.DEFAULT_FORMATTER_PREFETCHING : formatterName;
FormatterDefinition fd = configurationProvider.getConfiguration().getFormatter(formatterName);
- FormatterContext context = new FormatterContext(out, options.getFormatterProperties());
+ FormatterContext context = new FormatterContext(out, options.getFormatterProperties(), options.getRelationNames());
return fd.getInstance(context);
}