annotate artifacts/doc/conf/backend-db.xml @ 8474:2bc7bfd89fa8

Add validation-query to example configuration.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 25 Nov 2014 14:06:05 +0100
parents eb65364040a8
children 953acbb12cbc
rev   line source
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" ?>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <backend-database>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 <!-- This is the default backend db configuration. -->
7787
eb65364040a8 Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 5838
diff changeset
4 <user>d4e</user>
eb65364040a8 Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 5838
diff changeset
5 <password>d4e</password>
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 <driver>org.postgresql.Driver</driver>
7787
eb65364040a8 Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents: 5838
diff changeset
8 <url>jdbc:postgresql://localhost:5432/d4e</url>
8474
2bc7bfd89fa8 Add validation-query to example configuration.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 7787
diff changeset
9 <validation-query>select 1</validation-query> <!-- For oracle use: select 1 from dual -->
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10 </backend-database>

http://dive4elements.wald.intevation.org