Mercurial > dive4elements > river
diff flys-backend/ChangeLog @ 1210:31d8638760b1
New. The hibernate models
for the HYK structures.
flys-backend/trunk@2336 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jul 2011 11:12:14 +0000 |
parents | c12b5fbd33e8 |
children | f08fe480092c |
line wrap: on
line diff
--- a/flys-backend/ChangeLog Fri Jul 15 09:36:23 2011 +0000 +++ b/flys-backend/ChangeLog Fri Jul 15 11:12:14 2011 +0000 @@ -1,3 +1,18 @@ +2011-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/model/HYKFormation.java, + src/main/java/de/intevation/flys/model/HYKEntry.java, + src/main/java/de/intevation/flys/model/HYKFlowZone.java, + src/main/java/de/intevation/flys/model/HYKFlowZoneType.java, + src/main/java/de/intevation/flys/model/HYK.java: New. The hibernate models + for the HYK structures. + + * src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java: + Registered new models. + + * src/main/java/de/intevation/flys/model/CrossSection.java: Added + 'order by' annotation for fetching the cross section lines. + 2011-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * doc/schema/postgresql.sql: Added structures for HYKs "Hydraulische Kenngroessen" @@ -5,7 +20,6 @@ BEGIN; CREATE SEQUENCE HYKS_ID_SEQ; - CREATE TABLE hyks ( id int PRIMARY KEY NOT NULL, river_id int NOT NULL, @@ -13,7 +27,6 @@ ); CREATE SEQUENCE HYK_ENTRIES_ID_SEQ; - CREATE TABLE hyk_entries ( id int PRIMARY KEY NOT NULL, hyk_id int NOT NULL REFERENCES hyks(id), @@ -22,7 +35,6 @@ ); CREATE SEQUENCE HYK_FORMATIONS_ID_SEQ; - CREATE TABLE hyk_formations ( id int PRIMARY KEY NOT NULL, formation_num int NOT NULL DEFAULT 0, @@ -33,7 +45,6 @@ ); CREATE SEQUENCE HYK_FLOW_ZONE_TYPES_ID_SEQ; - CREATE TABLE hyk_flow_zone_types ( id int PRIMARY KEY NOT NULL, name VARCHAR(50) NOT NULL UNIQUE, @@ -41,7 +52,6 @@ ); CREATE SEQUENCE HYK_FLOW_ZONES_ID_SEQ; - CREATE TABLE hyk_flow_zones ( id int PRIMARY KEY NOT NULL, formation_id int NOT NULL REFERENCES hyk_formations(id),