comparison flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java @ 5422:eb7a3f58bdd6

Add port info to generated connection string for oracle
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 26 Mar 2013 11:29:25 +0100
parents d17e3106c910
children
comparison
equal deleted inserted replaced
5421:420c553bc86d 5422:eb7a3f58bdd6
62 } 62 }
63 63
64 String host = m.group(2); 64 String host = m.group(2);
65 String port = m.group(3); 65 String port = m.group(3);
66 String backend = m.group(4); 66 String backend = m.group(4);
67 connection = user + "/" + pass + "@" + host + "/" + backend; 67 connection = user + "/" + pass + "@" + host + ":" + port + "/" + backend;
68 } 68 }
69 else { 69 else {
70 if (groups < 4) { 70 if (groups < 4) {
71 logger.warn("Could only partially parse connection string."); 71 logger.warn("Could only partially parse connection string.");
72 return null; 72 return null;

http://dive4elements.wald.intevation.org