changeset 2080:0553e31d25e7

Disable cross section cache to avoid lazy initialization issues. flys-artifacts/trunk@3596 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 05 Jan 2012 13:55:17 +0000
parents ca6ccf722c24
children aa9cc91c8193
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/cache.xml
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Jan 05 13:39:58 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu Jan 05 13:55:17 2012 +0000
@@ -1,3 +1,9 @@
+2011-01-05	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	flys/issue443 (Querprofile: Hibernate LazyInitializationException) 
+
+	* doc/conf/cache.xml: Disable cache for cross-sections.
+
 2012-01-05  Ingo Weinzierl <ingo@intevation.de>
 
 	flys/issue447 (W-Differenzen: Fehler beim Hinzufügen einer Parameterisierung)
--- a/flys-artifacts/doc/conf/cache.xml	Thu Jan 05 13:39:58 2012 +0000
+++ b/flys-artifacts/doc/conf/cache.xml	Thu Jan 05 13:55:17 2012 +0000
@@ -92,11 +92,14 @@
            memoryStoreEvictionPolicy="LRU"
            />
 
-    <!-- This one is used for the cross section lookup -->
+    <!-- This one is used for the cross section lookup 
+         Because of lazy fetching and relatively big amount of data, disabled
+         cache for now.
     <cache name="cross_sections"
            maxElementsInMemory="50"
            eternal="false"
            timeToLiveSeconds="86400"
            memoryStoreEvictionPolicy="LRU"
            />
+    -->
 </ehcache>

http://dive4elements.wald.intevation.org