[Dive4elements-commits] [PATCH] Backend: Fixed broken HQL statement in OfficialLine

Wald Commits scm-commit at wald.intevation.org
Mon Jun 24 15:02:30 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1372078946 -7200
# Node ID 19066b1220b58158ec17ae66eaf377cb4e350009
# Parent  efadb301549e285811fab1430425764b3b5f53bd
Backend: Fixed broken HQL statement in OfficialLine.

diff -r efadb301549e -r 19066b1220b5 backend/src/main/java/org/dive4elements/river/model/OfficialLine.java
--- 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 :


More information about the Dive4elements-commits mailing list