view artifacts/doc/conf/seddb-db.xml @ 8474:2bc7bfd89fa8

Add validation-query to example configuration.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 25 Nov 2014 14:06:05 +0100
parents eb65364040a8
children 953acbb12cbc
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</validation-query> <!-- For oracle use: select 1 from dual -->
    <!--
    <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls>
    -->
</seddb-database>

http://dive4elements.wald.intevation.org