Mercurial > dive4elements > river
view flys-artifacts/doc/conf/artifacts/gaugedischargecurve.xml @ 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 | 526fd442e0e5 |
children | a2bdc0f524e8 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <artifact name="gaugedischargecurve"> <states> <state id="state.gaugedischargecurve.static" description="state.gaugedischargecurve.static" state="de.intevation.flys.artifacts.states.StaticState"> <data name="river" type="String" /> <data name="reference_gauge" type="Long" /> <data name="gauge_name" type="String" /> <outputmodes> <outputmode name="discharge_curve" description="output.discharge_curve" type="chart"> <facets> <facet name="gauge_discharge_curve"/> </facets> </outputmode> <outputmode name="computed_dischargecurve_at_export" description="output.computed_dischargecurve_at_export" mime-type="text/plain" type="export"> <facets> <facet name="at" description="facet.gauge_discharge_curve_export.at"/> </facets> </outputmode> <outputmode name="computed_dischargecurve_export" description="output.computed_dischargecurve_export" mime-type="text/plain" type="export"> <facets> <facet name="csv" description="facet.computed_dischargecurve_export.csv" /> <facet name="pdf" description="facet.computed_dischargecurve_export.pdf" /> </facets> </outputmode> </outputmodes> </state> </states> </artifact>