Mercurial > dive4elements > river
view artifacts/doc/conf/backend-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" ?> <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>