[Dive4elements-commits] [PATCH] WST-import: do not match against description (mostly NULL)

Wald Commits scm-commit at wald.intevation.org
Thu May 2 18:06:08 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1367510764 -7200
# Node ID 65ebae00fb76efd1ecfe8d4a3bed4050be931f0d
# Parent  a763fb7aa2e526e9a74e77a2ae52df10557809bc
WST-import: do not match against description (mostly NULL)

diff -r a763fb7aa2e5 -r 65ebae00fb76 backend/src/main/java/org/dive4elements/river/importer/ImportWstColumn.java
--- a/backend/src/main/java/org/dive4elements/river/importer/ImportWstColumn.java	Thu May 02 17:58:16 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/ImportWstColumn.java	Thu May 02 18:06:04 2013 +0200
@@ -136,11 +136,10 @@
             Session session = ImporterSession.getInstance().getDatabaseSession();
             Query query = session.createQuery(
                 "from WstColumn where " +
-                "wst=:wst and name=:name and description=:description" +
+                "wst=:wst and name=:name " +
                 " and position=:position");
             query.setParameter("wst",         w);
             query.setParameter("name",        name);
-            query.setParameter("description", description);
             query.setParameter("position",    position);
 
             TimeInterval ti = timeInterval != null


More information about the Dive4elements-commits mailing list