comparison flys-artifacts/ChangeLog @ 1631:26e19cdaed5e

Improved database session handling in services and artifacts. flys-artifacts/trunk@2807 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 22 Sep 2011 10:07:22 +0000
parents cafd8af6734a
children 2aa727cefb0c
comparison
equal deleted inserted replaced
1630:cafd8af6734a 1631:26e19cdaed5e
1 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
2
3 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
4 New. A subclass of DefaultService which is used in FLYS to init and
5 shutdown database connections.
6
7 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
8 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
9 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
10 Centralized the initialization and shutdown of database connections.
11 These services now subclass FLYSService which handles the database stuff.
12
13 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The
14 current database connection is not closed here - this is done in a
15 Service or in the CallContext.
16
17 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's
18 not necessary to create new database connections here. We already have
19 an existing connection which is initialized by CallContext.
20
1 2011-09-22 Ingo Weinzierl <ingo@intevation.de> 21 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
2 22
3 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java: 23 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
4 Override validate() of parent classes to suppress "step" validation 24 Override validate() of parent classes to suppress "step" validation
5 which is not present in this state. 25 which is not present in this state.

http://dive4elements.wald.intevation.org