[Lada-commits] [PATCH 1 of 4] That statement has surely never been successfully tested
Wald Commits
scm-commit at wald.intevation.org
Fri Dec 2 20:23:09 CET 2016
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1480702535 -3600
# Node ID 45308f8a4092be11ba366d23f6d350a1427df988
# Parent 2f9dfd292ff12e48ab17f725022f5c5bb0e01e5c
That statement has surely never been successfully tested.
diff -r 2f9dfd292ff1 -r 45308f8a4092 src/main/java/de/intevation/lada/factory/OrtFactory.java
--- 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();
More information about the Lada-commits
mailing list