--- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java Mon Dec 30 23:46:41 2013 +0100
+++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java Tue Dec 31 17:35:33 2013 +0100
@@ -32,6 +32,7 @@
private String url;
private String userName;
private String password;
+ private Properties properties = new Properties();
@XmlElement(name = "name", namespace = CONFIGURATION)
@Override
@@ -70,6 +71,15 @@
this.password = password;
}
+ @XmlElement(name = "property", namespace = CONFIGURATION)
+ public Properties getProperties() {
+ return properties;
+ }
+
+ public void setProperties(Properties properties) {
+ this.properties = properties;
+ }
+
public DatabaseConnection connect() throws SQLException {
return new DatabaseConnection(this);
}