diff flys-aft/src/main/resources/sql/flys-common.properties @ 4089:859b4781554a

Prefetch existing time intervals from FLYS db. flys-aft/trunk@3574 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 03 Jan 2012 12:25:06 +0000
parents aad1886ea226
children d556e29592f5
line wrap: on
line diff
--- a/flys-aft/src/main/resources/sql/flys-common.properties	Tue Jan 03 11:36:07 2012 +0000
+++ b/flys-aft/src/main/resources/sql/flys-common.properties	Tue Jan 03 12:25:06 2012 +0000
@@ -3,3 +3,4 @@
 next.gauge.id = SELECT NEXTVAL('GAUGES_ID_SEQ') AS gauge_id
 insert.gauge = INSERT INTO gauges (id, name, river_id, station, aeo, official_number, datum) \
                       VALUES(:id, :name, :river_id, :station, :aeo, :official_number, :datum)
+select.timeintervals = SELECT id, start_time, stop_time FROM time_intervals

http://dive4elements.wald.intevation.org