java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java
branchv_0
changeset 104 245f1b88a3e6
parent 30 b7ea47b2d4ca
child 106 e9c3583580c8
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java	Mon Dec 30 23:46:41 2013 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java	Tue Dec 31 17:35:33 2013 +0100
     1.3 @@ -32,6 +32,7 @@
     1.4  	private String url;
     1.5  	private String userName;
     1.6  	private String password;
     1.7 +	private Properties properties = new Properties();
     1.8  
     1.9  	@XmlElement(name = "name", namespace = CONFIGURATION)
    1.10  	@Override
    1.11 @@ -70,6 +71,15 @@
    1.12  		this.password = password;
    1.13  	}
    1.14  
    1.15 +	@XmlElement(name = "property", namespace = CONFIGURATION)
    1.16 +	public Properties getProperties() {
    1.17 +		return properties;
    1.18 +	}
    1.19 +
    1.20 +	public void setProperties(Properties properties) {
    1.21 +		this.properties = properties;
    1.22 +	}
    1.23 +
    1.24  	public DatabaseConnection connect() throws SQLException {
    1.25  		return new DatabaseConnection(this);
    1.26  	}