diff -r 01078e09b85b -r 504c4ba56d1c java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java Sun Jun 21 16:21:51 2015 +0200 +++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java Sat Aug 15 09:40:22 2015 +0200 @@ -57,6 +57,10 @@ * JDBC properties */ private Properties properties = new Properties(); + /** + * optional definition of tunnel to the remote database + */ + private TunnelDefinition tunnel; @XmlElement(name = "name", namespace = CONFIGURATION) @Override @@ -112,6 +116,14 @@ this.properties = properties; } + public TunnelDefinition getTunnel() { + return tunnel; + } + + public void setTunnel(TunnelDefinition tunnel) { + this.tunnel = tunnel; + } + /** * @param properties ad-hoc properties from CLI options (for the JDBC driver) * @param jmxBean JMX management bean for progress reporting | null = disable JMX