diff artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java @ 187:a85d889a1b0d

Fixed some backend specific stuff (sql statements, schema). artifacts/trunk@1417 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 07 Mar 2011 16:23:27 +0000
parents 15c7638511dc
children 949d69ad3756
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Mon Mar 07 15:13:36 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Mon Mar 07 16:23:27 2011 +0000
@@ -147,7 +147,7 @@
         SQL.get("collection.creation.time");
 
     public static final String SQL_COLLECTIONS_ID_BY_GID =
-        SQL.get("collection.creation.time");
+        SQL.get("collections.id.by.gid");
 
     public static final String SQL_DELETE_COLLECTION_ITEMS =
         SQL.get("delete.collection.items");
@@ -159,7 +159,7 @@
         SQL.get("collection.check.artifact");
 
     public static final String SQL_COLLECTION_ITEMS_ID_NEXTVAL =
-        SQL.get("collection.check.artifact");
+        SQL.get("collection.items.id.nextval");
 
     public static final String SQL_COLLECTION_ITEMS_INSERT =
         SQL.get("collection.items.insert");

http://dive4elements.wald.intevation.org