[Dive4elements-commits] [PATCH 04 of 10] WQKmsFactory: Fix name sql
Wald Commits
scm-commit at wald.intevation.org
Tue Apr 16 16:17:21 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1366108752 -7200
# Node ID 26dcd924befc06f264d473832c226202a2d5fe02
# Parent 17eba7d251b22498784ec282d7d8a447da87f5c2
WQKmsFactory: Fix name sql.
diff -r 17eba7d251b2 -r 26dcd924befc flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java Tue Apr 16 12:38:50 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java Tue Apr 16 12:39:12 2013 +0200
@@ -37,7 +37,7 @@
public static final String SQL_SELECT_NAME =
"SELECT name " +
"FROM wst_columns "+
- "WHERE wst_id = :wst_id AND position = :column_pos";
+ "WHERE id = :column_id";
/** Hidden constructor, use static methods instead. */
@@ -46,7 +46,7 @@
/**
- * Get WKms for given column and wst_id, caring about the cache.
+ * Get WKms for given column (pos) and wst_id, caring about the cache.
*/
public static WQKms getWQKms(int column, int wst_id) {
log.debug("WQKmsFactory.getWQKms");
More information about the Dive4elements-commits
mailing list