Mercurial > dive4elements > framework
comparison Changelog @ 14:0d16d1bb2df0
Initial checkin of artigact persistents back by database.
artifacts/trunk@29 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 07 Sep 2009 08:41:05 +0000 |
parents | 0d6badf6af42 |
children | 9ad6ec2d09c3 |
comparison
equal
deleted
inserted
replaced
13:0d6badf6af42 | 14:0d16d1bb2df0 |
---|---|
1 2009-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java: | |
4 Properties wrapper for SQL statements. The properties are looked up | |
5 in resorces /sql/DRIVER.properties (DRIVER is the name of the db driver class, | |
6 lowercased and '.' replaced by '-'. 'org.h2.Driver' turns to | |
7 'org-h2-driver.properties', e.g. | |
8 | |
9 * artifact-database/src/main/resources/sql/org-h2-driver.properties: | |
10 SQL statements for H2 database. | |
11 | |
12 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: | |
13 Artifacts are proxies/wrapped by an special Artifact implementation | |
14 to bound db activities transparentely to the Artifact. XXX: It has | |
15 to be evaluated if a more direct concept like extending the Artifact API | |
16 to store itself would be more robust for future implementations. | |
17 TODO: Loading Artifact from db is not implemented yet. | |
18 | |
1 2009-09-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 19 2009-09-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 20 |
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: | 21 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
4 New. Used to wrap database presentations of artifacts into artifacts. | 22 New. Used to wrap database presentations of artifacts into artifacts. |
5 | 23 |