annotate artifacts/doc/conf/backend-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 026f4c684ee5
children 28df64078f27 492f8e615c38
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 <backend-database>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 <!-- This is the default backend db configuration. -->
7787
eb65364040a8 Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 5838
diff changeset
4 <user>d4e</user>
eb65364040a8 Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 5838
diff changeset
5 <password>d4e</password>
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 <driver>org.postgresql.Driver</driver>
7787
eb65364040a8 Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 5838
diff changeset
8 <url>jdbc:postgresql://localhost:5432/d4e</url>
8476
953acbb12cbc Use portable validation queries.
Tom Gottfried <tom@intevation.de>
parents: 8474
diff changeset
9 <validation-query>select 1 from rivers</validation-query>
8485
026f4c684ee5 Make maxWait configurable and wait for 30 seconds
"Tom Gottfried <tom@intevation.de>"
parents: 8476
diff changeset
10 <max-wait>30000</max-wait>
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
11 </backend-database>

http://dive4elements.wald.intevation.org