changeset 5889:65ebae00fb76

WST-import: do not match against description (mostly NULL)
author Tom Gottfried <tom.gottfried@intevation.de>
date Thu, 02 May 2013 18:06:04 +0200
parents a763fb7aa2e5
children f59ff0ddc004
files backend/src/main/java/org/dive4elements/river/importer/ImportWstColumn.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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

http://dive4elements.wald.intevation.org