Mercurial > dive4elements > river
view artifacts/doc/conf/seddb-db.xml @ 9670:07d854c325d8 3.2.x
Tighten code a bit
PostgreSQL database names might also contain dots and since the extra
pattern matches a subset of the other, it will never match anyhow.
Thus remove the extra pattern, a lot of duplicate code and some
superfluous debug logging.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 20 May 2020 17:50:27 +0200 |
parents | 026f4c684ee5 |
children | 28df64078f27 492f8e615c38 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?> <seddb-database> <!-- This is the default SedDB db configuration. --> <user>seddb</user> <password>seddb</password> <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect> <driver>org.postgresql.Driver</driver> <url>jdbc:postgresql://localhost:5432/seddb</url> <validation-query>select 1 from gewaesser</validation-query> <max-wait>30000</max-wait> <!-- <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls> --> </seddb-database>