changeset 1222:1f21f162bcf3

Fixed OrderBy clause in HYKEntry. flys-backend/trunk@2348 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 18 Jul 2011 09:06:40 +0000 (2011-07-18)
parents 979ff070e368
children 268f8da412e3
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/model/HYKEntry.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Sun Jul 17 22:59:26 2011 +0000
+++ b/flys-backend/ChangeLog	Mon Jul 18 09:06:40 2011 +0000
@@ -1,3 +1,8 @@
+2011-07-18  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/model/HYKEntry.java: Fixed OrderBy
+	  clause.
+
 2011-07-18	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/importer/ImportHYKFormation.java,
--- a/flys-backend/src/main/java/de/intevation/flys/model/HYKEntry.java	Sun Jul 17 22:59:26 2011 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HYKEntry.java	Mon Jul 18 09:06:40 2011 +0000
@@ -86,7 +86,7 @@
     }
 
     @OneToMany
-    @OrderBy("formation_num")
+    @OrderBy("formationNum")
     @JoinColumn(name="hyk_entry_id")
     public List<HYKFormation> getFormations() {
         return formations;

http://dive4elements.wald.intevation.org