comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java @ 84:c8d1f7b9e5a8

Bugfixed in Querypreparation gnv-artifacts/trunk@114 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 23 Sep 2009 12:39:48 +0000
parents 5c8e54726a58
children 1b12021905b9
comparison
equal deleted inserted replaced
83:5c8e54726a58 84:c8d1f7b9e5a8
332 String newValue = ""; 332 String newValue = "";
333 for (int i = 0; i < values.length; i++){ 333 for (int i = 0; i < values.length; i++){
334 if (newValue.length() > 0){ 334 if (newValue.length() > 0){
335 newValue= newValue + " , "; 335 newValue= newValue + " , ";
336 } 336 }
337 newValue = "to_date('"+values[0].trim()+"', 'YYYY.MM.DD HH24:MI:SS')"; // TODO JUST HACK FIND A BETTER RESOLUTION 337 newValue = newValue + "to_date('"+values[i].trim()+"', 'YYYY.MM.DD HH24:MI:SS')"; // TODO JUST HACK FIND A BETTER RESOLUTION
338 } 338 }
339 return newValue; 339 return newValue;
340 } 340 }
341 341
342 return value; 342 return value;
347 String newValue = ""; 347 String newValue = "";
348 for (int i = 0; i < values.length; i++){ 348 for (int i = 0; i < values.length; i++){
349 if (newValue.length() > 0){ 349 if (newValue.length() > 0){
350 newValue= newValue + " , "; 350 newValue= newValue + " , ";
351 } 351 }
352 newValue = "'"+values[0].trim()+"'"; 352 newValue = newValue + "'"+values[i].trim()+"'";
353 } 353 }
354 return newValue; 354 return newValue;
355 } 355 }
356 356
357 return value; 357 return value;

http://dive4elements.wald.intevation.org