comparison artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java @ 393:b7831cefbb62

Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner. artifacts/trunk@4585 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 05 Jun 2012 13:32:14 +0000
parents 7514fe89efef
children f456d9d55541
comparison
equal deleted inserted replaced
392:cdc8b7c64856 393:b7831cefbb62
1306 } 1306 }
1307 int id = result.getInt(1); 1307 int id = result.getInt(1);
1308 reset(); 1308 reset();
1309 1309
1310 // outdate artifacts that are only in this collection 1310 // outdate artifacts that are only in this collection
1311 logger.info("Outdate Artifacts that belong to collection: " + id);
1312
1311 prepareStatement(SQL_OUTDATE_ARTIFACTS_COLLECTION); 1313 prepareStatement(SQL_OUTDATE_ARTIFACTS_COLLECTION);
1312 stmnt.setInt(1, id); 1314 stmnt.setInt(1, id);
1313 stmnt.setInt(2, id); 1315 stmnt.setInt(2, id);
1314 stmnt.execute(); 1316 stmnt.execute();
1315 reset(); 1317 reset();

http://dive4elements.wald.intevation.org