diff ChangeLog @ 174:25d472a67a9f

Reduce the code repetition and the complexity of the backend. artifacts/trunk@1400 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 04 Mar 2011 16:43:03 +0000
parents 940ed629419f
children 16e6e661e6bf
line wrap: on
line diff
--- a/ChangeLog	Fri Mar 04 14:06:56 2011 +0000
+++ b/ChangeLog	Fri Mar 04 16:43:03 2011 +0000
@@ -1,3 +1,17 @@
+2011-03-04	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/SQLExecutor.java:
+	  New. Helper class to simplify the database connection stuff like
+	  get a connection, prepare statements, commit, rollback in
+	  error cases and so on. This reduces the code repetition
+	  and complexity in the backend significantly.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
+	  Use the new helper. (Should really have done this before!)
+
+	* artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java:
+	  Removed empty line at end of file.
+
 2011-03-04	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* artifact-database/src/main/resources/sql/org-h2-driver.properties,

http://dive4elements.wald.intevation.org