Mercurial > dive4elements > river
changeset 8476:953acbb12cbc
Use portable validation queries.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 26 Nov 2014 14:56:20 +0100 |
parents | 40717a3b94aa |
children | f53d562d7250 |
files | artifacts/doc/conf/backend-db.xml artifacts/doc/conf/seddb-db.xml |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- 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> -->