[PATCH] Add validation-query to example configuration

Wald Commits scm-commit at wald.intevation.org
Tue Nov 25 14:06:10 CET 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1416920765 -3600
# Node ID 2bc7bfd89fa8e292bc55c0c010f4052702c29b46
# Parent  1ba3032cdfe22131898a652d12b81eaad5cbf70a
Add validation-query to example configuration.

diff -r 1ba3032cdfe2 -r 2bc7bfd89fa8 artifacts/doc/conf/backend-db.xml
--- a/artifacts/doc/conf/backend-db.xml	Thu Nov 20 11:27:10 2014 +0100
+++ b/artifacts/doc/conf/backend-db.xml	Tue Nov 25 14:06:05 2014 +0100
@@ -6,4 +6,5 @@
     <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
     <driver>org.postgresql.Driver</driver>
     <url>jdbc:postgresql://localhost:5432/d4e</url>
+    <validation-query>select 1</validation-query> <!-- For oracle use: select 1 from dual -->
 </backend-database>
diff -r 1ba3032cdfe2 -r 2bc7bfd89fa8 artifacts/doc/conf/seddb-db.xml
--- a/artifacts/doc/conf/seddb-db.xml	Thu Nov 20 11:27:10 2014 +0100
+++ b/artifacts/doc/conf/seddb-db.xml	Tue Nov 25 14:06:05 2014 +0100
@@ -6,6 +6,7 @@
     <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>
     -->


More information about the Dive4Elements-commits mailing list