Mercurial > dive4elements > river
view flys-backend/contrib/dump-schema.sh @ 5200:42bb6ff78d1b 2.9.11
Directly set the connectionInitSqls on the datasource
Somehow the factory fails to set the connectionInitSqls if
we add it to the dbcpProperties. So we now set it directly
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 08 Mar 2013 11:48:33 +0100 |
parents | 8477965674ce |
children |
line wrap: on
line source
#!/bin/bash DB_URL=jdbc:postgresql://czech-republic.atlas.intevation.de:5432/flys3 DB_USER=flys DB_PASS=flys DB_DIALECT=org.hibernatespatial.oracle.OracleSpatial10gDialect mvn compile package -e \ -Dlog4j.configuration=file://`readlink -f contrib/log4j.properties` \ -Dflys.backend.user=$DB_USER \ -Dflys.backend.password=$DB_PASS \ -Dflys.backend.dialect=$DB_DIALECT \ -Dflys.backend.url=$DB_URL \ -Dexec.mainClass=de.intevation.flys.App \ exec:java