1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/Configuration.java Sun May 24 19:17:50 2015 +0200
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/Configuration.java Sun Jun 21 16:21:51 2015 +0200
1.3 @@ -21,6 +21,7 @@
1.4 import static info.globalcode.sql.dk.Functions.findByName;
1.5 import info.globalcode.sql.dk.formatting.DsvFormatter;
1.6 import info.globalcode.sql.dk.formatting.SilentFormatter;
1.7 +import info.globalcode.sql.dk.formatting.SingleRecordFormatter;
1.8 import info.globalcode.sql.dk.formatting.SingleValueFormatter;
1.9 import info.globalcode.sql.dk.formatting.TabularFormatter;
1.10 import info.globalcode.sql.dk.formatting.TabularPrefetchingFormatter;
1.11 @@ -65,6 +66,7 @@
1.12 Collection<FormatterDefinition> l = new ArrayList<>();
1.13 l.add(new FormatterDefinition(SilentFormatter.NAME, SilentFormatter.class.getName()));
1.14 l.add(new FormatterDefinition(SingleValueFormatter.NAME, SingleValueFormatter.class.getName()));
1.15 + l.add(new FormatterDefinition(SingleRecordFormatter.NAME, SingleRecordFormatter.class.getName()));
1.16 l.add(new FormatterDefinition(XmlFormatter.NAME, XmlFormatter.class.getName()));
1.17 l.add(new FormatterDefinition(XhtmlFormatter.NAME, XhtmlFormatter.class.getName()));
1.18 l.add(new FormatterDefinition(TabularFormatter.NAME, TabularFormatter.class.getName()));
1.19 @@ -85,6 +87,8 @@
1.20 }
1.21
1.22 /**
1.23 + * @param name
1.24 + * @return
1.25 * @throws ConfigurationException if no database with this name is configured
1.26 */
1.27 public DatabaseDefinition getDatabase(String name) throws ConfigurationException {