annotate artifacts/doc/conf/datacage-db.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 5aa05a7a34b7
children 308a0d822d18
rev   line source
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" ?>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <datacage>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 <user>SA</user>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 <password/>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5 <driver>org.h2.Driver</driver>
5249
9c4e2192810c Use default paths which are the same paths used when
Andre Heinecke <aheinecke@intevation.de>
parents: 3093
diff changeset
6 <url>jdbc:h2:${artifacts.config.dir}/../datacagedb/datacage</url>
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 </datacage>

http://dive4elements.wald.intevation.org