annotate artifacts/doc/conf/artifact-db.xml @ 8605:b0e5a2ce0b09

(issue1750) Fix id handling with oracle On oracle the id is returned as BigDecimal. This could probably be done better with hibernate but checking the Object also works.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 20 Mar 2015 18:42:00 +0100
parents 5aa05a7a34b7
children 308a0d822d18
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 <database>
3219
fa30e6322ef3 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3093
diff changeset
3 <!-- This Section configures the Settings for connecting to the
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 Artifact-Database instance. e.g. SQLite -->
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5 <user>SA</user>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 <password></password>
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 <!-- For use with a postgresql database use the appropriate driver-->
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
8 <!--driver>org.postgresql.Driver</driver-->
5249
9c4e2192810c Use default paths which are the same paths used when
Andre Heinecke <aheinecke@intevation.de>
parents: 3219
diff changeset
9 <url>jdbc:h2:${artifacts.config.dir}/../artifactsdb/artifacts</url>
3093
b0f59d42ae4f De-centralized database configuration.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10 </database>

http://dive4elements.wald.intevation.org