[Dive4elements-commits] [PATCH 1 of 2] Add port info to generated connection string for oracle

Wald Commits scm-commit at wald.intevation.org
Tue Mar 26 11:40:04 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1364293765 -3600
# Node ID eb7a3f58bdd644b14933537780aee82afe280ba3
# Parent  420c553bc86d520e8039c2a9e6f8f0cb811f01f0
Add port info to generated connection string for oracle

diff -r 420c553bc86d -r eb7a3f58bdd6 flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java	Tue Mar 26 11:25:44 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java	Tue Mar 26 11:29:25 2013 +0100
@@ -64,7 +64,7 @@
             String host = m.group(2);
             String port = m.group(3);
             String backend = m.group(4);
-            connection = user + "/" + pass + "@" + host + "/" + backend;
+            connection = user + "/" + pass + "@" + host + ":" + port + "/" + backend;
         }
         else {
             if (groups < 4) {


More information about the Dive4elements-commits mailing list