[PATCH] Use portable validation queries
Wald Commits
scm-commit at wald.intevation.org
Wed Nov 26 14:56:23 CET 2014
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1417010180 -3600
# Node ID 953acbb12cbc7c134182fb019f2ddde12993e044
# Parent 40717a3b94aa4d3cf3c5bc42351ccfb12d877c94
Use portable validation queries.
diff -r 40717a3b94aa -r 953acbb12cbc artifacts/doc/conf/backend-db.xml
--- a/artifacts/doc/conf/backend-db.xml Wed Nov 26 14:40:18 2014 +0100
+++ b/artifacts/doc/conf/backend-db.xml Wed Nov 26 14:56:20 2014 +0100
@@ -6,5 +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 -->
+ <validation-query>select 1 from rivers</validation-query>
</backend-database>
diff -r 40717a3b94aa -r 953acbb12cbc artifacts/doc/conf/seddb-db.xml
--- a/artifacts/doc/conf/seddb-db.xml Wed Nov 26 14:40:18 2014 +0100
+++ b/artifacts/doc/conf/seddb-db.xml Wed Nov 26 14:56:20 2014 +0100
@@ -6,7 +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 -->
+ <validation-query>select 1 from gewaesser</validation-query>
<!--
<connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls>
-->
More information about the Dive4Elements-commits
mailing list