Mercurial > dive4elements > river
view artifacts/doc/conf/backend-db.xml @ 8810:dbdb7c9bd51b
Upgrade to new PostgreSQL JDBC-driver.
This needs more explicit type mapping but fixes the sometimes occuring
error because of unimplemented Jdbc4Connection.isValid().
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 14 Mar 2017 16:27:14 +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>