annotate artifacts/doc/conf/artifacts/sedimentload.xml @ 9713:aef987124822 3.2.x

Do not rely on database default for setting hws_lines.official to 0 It's not under the control of the importer whether the field is rendered into an INSERT statement, whether it's actually set or not. If it is unset but rendered into the statement, the field would be set to NULL. Thus, always set it explicitly. While here, remove an unused import.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Mar 2021 15:11:44 +0100
parents 7b062d9b8e1b
children
rev   line source
8095
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2 <artifact name="sedimentload">
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 <load-facets>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
4 <facet name="sedimentload" class="org.dive4elements.river.artifacts.model.minfo.SedimentLoadFacet"/>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
5 </load-facets>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
6 <states>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
7 <state id="state.sedimentload.datacage"
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
8 description="state.sedimentload.datacage"
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
9 state="org.dive4elements.river.artifacts.states.DefaultState">
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
10 </state>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
11 </states>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
12 </artifact>
7b062d9b8e1b Configure sedimentload static facet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
13

http://dive4elements.wald.intevation.org