Mercurial > dive4elements > river
diff contrib/make_flys_release/make_release.sh @ 8483:2db7a949ff8b
Use validation queries for release.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 27 Nov 2014 20:25:31 +0100 |
parents | 40717a3b94aa |
children | 026f4c684ee5 |
line wrap: on
line diff
--- 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