view 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
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<backend-database>
    <!-- This is the default backend db configuration. -->
    <user>d4e</user>
    <password>d4e</password>
    <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
    <driver>org.postgresql.Driver</driver>
    <url>jdbc:postgresql://localhost:5432/d4e</url>
    <validation-query>select 1 from rivers</validation-query>
    <max-wait>30000</max-wait>
</backend-database>

http://dive4elements.wald.intevation.org