Mercurial > dive4elements > river
annotate artifacts/doc/conf/seddb-db.xml @ 8472:3f505fba522f
(issue1772) Use 0.001km tolarance instead of 0.1 to find matching km.
There is no sense to use a define here. I will not write
static final double NULLPOINTNULLNULLONE=0.001 if i just want to use that
value and not any other value which may make sense in some other place.
Using hardcoded values can have its merits and makes the code easier to
read.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 18 Nov 2014 15:24:40 +0100 |
parents | eb65364040a8 |
children | 2bc7bfd89fa8 |
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 <seddb-database> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 <!-- This is the default SedDB db configuration. --> |
7787
eb65364040a8
Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents:
5838
diff
changeset
|
4 <user>seddb</user> |
eb65364040a8
Set useful DB connection configuration for demo installation.
Tom Gottfried <tom@intevation.de>
parents:
5838
diff
changeset
|
5 <password>seddb</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> |
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
8 <url>jdbc:postgresql://localhost:5432/seddb</url> |
5193
fb9dcc68b9c2
Possible fix for flys/1202. Initial SQL statements can now be issued at connection creation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
3093
diff
changeset
|
9 <!-- |
fb9dcc68b9c2
Possible fix for flys/1202. Initial SQL statements can now be issued at connection creation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
3093
diff
changeset
|
10 <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls> |
fb9dcc68b9c2
Possible fix for flys/1202. Initial SQL statements can now be issued at connection creation.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
3093
diff
changeset
|
11 --> |
3093
b0f59d42ae4f
De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
12 </seddb-database> |