comparison flys-backend/ChangeLog @ 763:8076f6a689d0

First part of flys/issue18 flys-backend/trunk@2124 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 15 Jun 2011 09:22:00 +0000
parents 23fe9ac1c3b4
children e09f00ecb915
comparison
equal deleted inserted replaced
762:23fe9ac1c3b4 763:8076f6a689d0
1 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 First part of flys/issue18
4
5 * doc/schema/postgresql.sql: Add new table 'annotation_types'.
6 To update existing databases:
7 BEGIN;
8 CREATE SEQUENCE ANNOTATION_TYPES_ID_SEQ;
9 CREATE TABLE annotation_types (
10 id int PRIMARY KEY NOT NULL,
11 name VARCHAR(256) NOT NULL UNIQUE
12 );
13 ALTER TABLE annotations ADD COLUMN type_id int REFERENCES annotation_types(id);
14 COMMIT;
15
16 * doc/schema/postgresql-cleanup.sql: Removed. Hopeless out-dated.
17
18 * src/main/java/de/intevation/flys/model/AnnotationType.java:
19 New. Hibernate model to access the type.
20
21 * src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java:
22 Register the new backend type.
23
24 * src/main/java/de/intevation/flys/model/Annotation.java:
25 References the annotation type.
26
27 * src/main/java/de/intevation/flys/importer/ImportAnnotationType.java:
28 New. Model to help import the annotation type.
29
30 * src/main/java/de/intevation/flys/importer/ImportAnnotation.java:
31 Uses the import type.
32
33 * src/main/java/de/intevation/flys/importer/AnnotationsParser.java:
34 Set the annotation type to 'null'. TODO: Do the classification!
35
1 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> 36 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 37
3 * src/main/java/de/intevation/flys/importer/AtFileParser.java: 38 * src/main/java/de/intevation/flys/importer/AtFileParser.java:
4 Fix for flys/issue110. start index was shifted by one. 39 Fix for flys/issue110. start index was shifted by one.
5 40

http://dive4elements.wald.intevation.org