comparison 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
comparison
equal deleted inserted replaced
8473:1ba3032cdfe2 8474:2bc7bfd89fa8
4 <user>seddb</user> 4 <user>seddb</user>
5 <password>seddb</password> 5 <password>seddb</password>
6 <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect> 6 <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
7 <driver>org.postgresql.Driver</driver> 7 <driver>org.postgresql.Driver</driver>
8 <url>jdbc:postgresql://localhost:5432/seddb</url> 8 <url>jdbc:postgresql://localhost:5432/seddb</url>
9 <validation-query>select 1</validation-query> <!-- For oracle use: select 1 from dual -->
9 <!-- 10 <!--
10 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls> 11 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls>
11 --> 12 -->
12 </seddb-database> 13 </seddb-database>

http://dive4elements.wald.intevation.org