Mercurial > dive4elements > river
view artifacts/doc/conf/seddb-db.xml @ 9744:b1b48fa7bd80 3.2.x
Include both database drivers in one pom.xml
This makes it unnecessary to package for a specific database and makes
it possible to connect to both database backends from the same installation
(e.g. in a Docker container).
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 30 Aug 2022 14:33:20 +0200 |
parents | 492f8e615c38 |
children | 75dc4ea60938 |
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://d4eriver-db: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>