changeset 1204:45308f8a4092

That statement has surely never been successfully tested.
author Tom Gottfried <tom@intevation.de>
date Fri, 02 Dec 2016 19:15:35 +0100
parents 2f9dfd292ff1
children d8dd8ee980a6
files src/main/java/de/intevation/lada/factory/OrtFactory.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/factory/OrtFactory.java	Fri Dec 02 14:29:33 2016 +0100
+++ b/src/main/java/de/intevation/lada/factory/OrtFactory.java	Fri Dec 02 19:15:35 2016 +0100
@@ -90,8 +90,8 @@
             return;
         }
         Query q = repository.entityManager("stamm")
-            .createQuery("SELECT vg.gemId" +
-                         "FROM Verwaltungsgrenze vg" +
+            .createQuery("SELECT vg.gemId " +
+                         "FROM Verwaltungsgrenze vg " +
                          "WHERE contains(vg.shape, :geom) = TRUE");
         q.setParameter("geom", ort.getGeom());
         List<Object> ret = q.getResultList();
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)