diff artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java @ 241:4253995c970e

Fix for flys/issue8 (part 3) artifacts/trunk@1676 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 13 Apr 2011 10:57:45 +0000
parents 61b7041204a7
children b0a949d3fe09
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java	Tue Apr 12 07:51:42 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java	Wed Apr 13 10:57:45 2011 +0000
@@ -237,7 +237,7 @@
             : EMPTY_IDS;
 
         String questionMarks = lockedIds.isEmpty()
-            ? "NULL"
+            ? "-666" // XXX: A bit hackish.
             : StringUtils.repeat('?', lockedIds.size(), ',');
 
         try {

http://dive4elements.wald.intevation.org