annotate artifacts/doc/conf/artifact-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 <database>
3219
fa30e6322ef3 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3093
diff changeset
3 <!-- This Section configures the Settings for connecting to the
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 Artifact-Database instance. e.g. SQLite -->
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5 <user>SA</user>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 <password></password>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 <!-- For use with a postgresql database use the appropriate driver-->
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
8 <!--driver>org.postgresql.Driver</driver-->
5249
9c4e2192810c Use default paths which are the same paths used when
Andre Heinecke <aheinecke@intevation.de>
parents: 3219
diff changeset
9 <url>jdbc:h2:${artifacts.config.dir}/../artifactsdb/artifacts</url>
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10 </database>

http://dive4elements.wald.intevation.org