diff flys-artifacts/ChangeLog @ 2127:0c7847b8e85e

Speed up the join of calculation results and the km annotations. flys-artifacts/trunk@3698 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 17 Jan 2012 18:26:45 +0000
parents d626ae185305
children bf67eb014443
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Jan 17 17:05:18 2012 +0000
+++ b/flys-artifacts/ChangeLog	Tue Jan 17 18:26:45 2012 +0000
@@ -1,3 +1,10 @@
+2012-01-17	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
+	  Cache a TreeMap<km, annotation string> of the annotation values of whole 
+	  rivers. This is _much_ more efficient than firing an HQL/SQL statement for 
+	  each km and caching these results.
+
 2012-01-17	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:

http://dive4elements.wald.intevation.org