[PATCH] Use validation queries for release

Wald Commits scm-commit at wald.intevation.org
Thu Nov 27 20:25:36 CET 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1417116331 -3600
# Node ID 2db7a949ff8bac746f7044e26dfd8deaf83fb6bf
# Parent  0c22ef71d1540c4d003aac47b422e0610e274146
Use validation queries for release.

diff -r 0c22ef71d154 -r 2db7a949ff8b contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Thu Nov 27 20:15:38 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Thu Nov 27 20:25:31 2014 +0100
@@ -382,6 +382,7 @@
     <dialect>org.hibernatespatial.oracle.OracleSpatial10gDialect</dialect>
     <driver>oracle.jdbc.driver.OracleDriver</driver>
     <url>jdbc:oracle:thin:@//$BACKENDURL:$BACKENDPORT/$BACKENDBACK</url>
+    <validation-query>select 1 from rivers</validation-query>
     <connection-init-sqls>$INITSQLS</connection-init-sqls>
 </backend-database>
 EOF
@@ -394,6 +395,7 @@
     <dialect>org.hibernate.dialect.Oracle9iDialect</dialect>
     <driver>oracle.jdbc.driver.OracleDriver</driver>
     <url>jdbc:oracle:thin:@//$SEDDBURL:$SEDDBPORT/$SEDDBBACK</url>
+    <validation-query>select 1 from gewaesser</validation-query>
     <connection-init-sqls>$SEDINITSQLS</connection-init-sqls>
 </seddb-database>
 EOF
@@ -408,6 +410,7 @@
     <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
     <driver>org.postgresql.Driver</driver>
     <url>jdbc:postgresql://$BACKENDURL:$BACKENDPORT/$BACKENDBACK</url>
+    <validation-query>select 1 from rivers</validation-query>
     <connection-init-sqls>$INITSQLS</connection-init-sqls>
 </backend-database>
 EOF
@@ -420,6 +423,7 @@
     <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
     <driver>org.postgresql.Driver</driver>
     <url>jdbc:postgresql://$SEDDBURL:$SEDDBPORT/$SEDDBBACK</url>
+    <validation-query>select 1 from gewaesser</validation-query>
 </seddb-database>
 EOF
 


More information about the Dive4Elements-commits mailing list