diff flys-artifacts/ChangeLog @ 973:c30ada285d45

Reuse the compiled statements in meta data service. flys-artifacts/trunk@2399 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 23 Jul 2011 18:47:08 +0000
parents 0c8aca463bd4
children 30c85cb33a50
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Jul 22 16:55:36 2011 +0000
+++ b/flys-artifacts/ChangeLog	Sat Jul 23 18:47:08 2011 +0000
@@ -1,3 +1,13 @@
+2011-07-21  Sascha L. Teichmann <sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
+	  Moved connection specific into inner class. The enables the reuse of the
+	  compiled statement.
+
+	* src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The
+	  SQL statements are now only compiled once at creation time of the builder.
+	  Each connection now reuses them.
+
 2011-07-21  Sascha L. Teichmann <sascha.teichmann@intevation.de>
 
 	* doc/conf/cache.xml: Added configuration for static datacage db access.

http://dive4elements.wald.intevation.org