Mercurial > dive4elements > framework
comparison 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 |
comparison
equal
deleted
inserted
replaced
173:940ed629419f | 174:25d472a67a9f |
---|---|
1 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQLExecutor.java: | |
4 New. Helper class to simplify the database connection stuff like | |
5 get a connection, prepare statements, commit, rollback in | |
6 error cases and so on. This reduces the code repetition | |
7 and complexity in the backend significantly. | |
8 | |
9 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: | |
10 Use the new helper. (Should really have done this before!) | |
11 | |
12 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java: | |
13 Removed empty line at end of file. | |
14 | |
1 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 15 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 16 |
3 * artifact-database/src/main/resources/sql/org-h2-driver.properties, | 17 * artifact-database/src/main/resources/sql/org-h2-driver.properties, |
4 artifact-database/src/main/resources/sql/org-postgresql-driver.properties: | 18 artifact-database/src/main/resources/sql/org-postgresql-driver.properties: |
5 Argh! s/OUTER LEFT/LEFT OUTER/ solves the collection listing problem. | 19 Argh! s/OUTER LEFT/LEFT OUTER/ solves the collection listing problem. |