--- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/Configuration.java Sun May 24 19:17:50 2015 +0200
+++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/Configuration.java Sun Jun 21 16:21:51 2015 +0200
@@ -21,6 +21,7 @@
import static info.globalcode.sql.dk.Functions.findByName;
import info.globalcode.sql.dk.formatting.DsvFormatter;
import info.globalcode.sql.dk.formatting.SilentFormatter;
+import info.globalcode.sql.dk.formatting.SingleRecordFormatter;
import info.globalcode.sql.dk.formatting.SingleValueFormatter;
import info.globalcode.sql.dk.formatting.TabularFormatter;
import info.globalcode.sql.dk.formatting.TabularPrefetchingFormatter;
@@ -65,6 +66,7 @@
Collection<FormatterDefinition> l = new ArrayList<>();
l.add(new FormatterDefinition(SilentFormatter.NAME, SilentFormatter.class.getName()));
l.add(new FormatterDefinition(SingleValueFormatter.NAME, SingleValueFormatter.class.getName()));
+ l.add(new FormatterDefinition(SingleRecordFormatter.NAME, SingleRecordFormatter.class.getName()));
l.add(new FormatterDefinition(XmlFormatter.NAME, XmlFormatter.class.getName()));
l.add(new FormatterDefinition(XhtmlFormatter.NAME, XhtmlFormatter.class.getName()));
l.add(new FormatterDefinition(TabularFormatter.NAME, TabularFormatter.class.getName()));
@@ -85,6 +87,8 @@
}
/**
+ * @param name
+ * @return
* @throws ConfigurationException if no database with this name is configured
*/
public DatabaseDefinition getDatabase(String name) throws ConfigurationException {