view artifacts/doc/conf/seddb-db.xml @ 8605:b0e5a2ce0b09

(issue1750) Fix id handling with oracle On oracle the id is returned as BigDecimal. This could probably be done better with hibernate but checking the Object also works.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 20 Mar 2015 18:42:00 +0100
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>

http://dive4elements.wald.intevation.org