changeset 6409:19066b1220b5

Backend: Fixed broken HQL statement in OfficialLine.
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 24 Jun 2013 15:02:26 +0200
parents efadb301549e
children df867072d003 a21f7a3e4be5
files backend/src/main/java/org/dive4elements/river/model/OfficialLine.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/OfficialLine.java	Mon Jun 24 13:23:41 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/model/OfficialLine.java	Mon Jun 24 15:02:26 2013 +0200
@@ -81,7 +81,7 @@
 
     public static List<OfficialLine> fetchAllOfficalLines() {
         Session session = SessionHolder.HOLDER.get();
-        return session.createQuery("select from OfficialLine").list();
+        return session.createQuery("from OfficialLine").list();
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org