changeset 1008:6268009e177d

Datacage: fixed wrong SQL references flys-artifacts/trunk@2452 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 02 Aug 2011 13:40:04 +0000
parents ed918497873b
children fc5fca0c33b3
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Aug 02 13:03:06 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue Aug 02 13:40:04 2011 +0000
@@ -1,3 +1,8 @@
+2011-08-02  Sascha L. Teichmann <sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
+	  Fixed wrong SQL references.
+
 2011-08-02  Sascha L. Teichmann <sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java	Tue Aug 02 13:03:06 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java	Tue Aug 02 13:40:04 2011 +0000
@@ -76,7 +76,7 @@
     private String SQL_DELETE_OUTS_BY_ARTIFACT_ID =
         "delete.outs.by.artifact.id";
     private String SQL_DELETE_FACETS_BY_ARTIFACT_ID =
-        "delete.facets.by.artifacts.id";
+        "delete.facets.by.artifact.id";
     private String SQL_DELETE_ARTIFACT_BY_GID =
         "delete.artifact.by.gid";
 
@@ -374,8 +374,6 @@
             sql.get(SQL_DELETE_OUTS_BY_ARTIFACT_ID);
         SQL_DELETE_FACETS_BY_ARTIFACT_ID =
             sql.get(SQL_DELETE_FACETS_BY_ARTIFACT_ID);
-        SQL_DELETE_FACETS_BY_ARTIFACT_ID =
-            sql.get(SQL_DELETE_ARTIFACT_BY_GID);
     }
 
     protected static final int numFacets(List<Output> outs) {

http://dive4elements.wald.intevation.org