Mercurial > dive4elements > river
view flys-backend/contrib/dump-schema.sh @ 5784:efbbfe32e9fe
Fix dateFormat for Oracle by invoking dateValue on demand
Oracle does not return a date object but a oracle.sql.TIMESTAMP
object when querying a date. We now convert to a java date
by inviking the method dateValue if it is available.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 22 Apr 2013 16:18:16 +0200 |
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