Mercurial > dive4elements > river
changeset 131:0bab3a39a474
Added section in configuration for database backend.
flys-artifacts/trunk@1480 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 15 Mar 2011 17:12:58 +0000 (2011-03-15) |
parents | 1fa38d60a702 |
children | 8be4a837f20a |
files | flys-artifacts/ChangeLog flys-artifacts/doc/conf/conf.xml |
diffstat | 2 files changed, 14 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Tue Mar 15 15:53:02 2011 +0000 +++ b/flys-artifacts/ChangeLog Tue Mar 15 17:12:58 2011 +0000 @@ -1,3 +1,7 @@ +2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * doc/conf/conf.xml: Added section for database backend configuration. + 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
--- a/flys-artifacts/doc/conf/conf.xml Tue Mar 15 15:53:02 2011 +0000 +++ b/flys-artifacts/doc/conf/conf.xml Tue Mar 15 17:12:58 2011 +0000 @@ -48,5 +48,14 @@ <password></password> <url>jdbc:h2:${artifacts.config.dir}/../artifactdb/artifacts.db</url> </database> - + <!-- This is the default backend db configuration --> + <!-- + <backend-database> + <user>flys</user> + <password>flys</password> + <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect> + <driver>org.postgresql.Driver</driver> + <url>jdbc:postgresql://localhost:5432/flys</url> + </backend-database> + --> </artifact-database>