Mercurial > dive4elements > river
annotate flys-aft/src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties @ 4171:1d8faeedda0c
Sort calculation results of a historical discharge calculation based on their start date.
Therefore, there are two new inner classes TimerangeItem and HistoricalTimerangeItem that wrap
a W, Q, Timerange (and delta Q). WQTimerange and HistoricalWQTimerange now implement a sort()
that return the results (TimerangeItem or HistoricalWQTimerangeItem) sorted by their start date.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 18 Oct 2012 09:28:51 +0200 |
parents | 4c2b99d6af6c |
children | da1e897c7224 |
rev | line source |
---|---|
4108
4c2b99d6af6c
Oracle: Added 'FROM DUAL' when selecting new ids from sequences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
4107
diff
changeset
|
1 next.gauge.id = SELECT GAUGES_ID_SEQ.NEXTVAL AS gauge_id FROM DUAL |
4c2b99d6af6c
Oracle: Added 'FROM DUAL' when selecting new ids from sequences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
4107
diff
changeset
|
2 next.timeinterval.id = SELECT TIME_INTERVALS_ID_SEQ.NEXTVAL AS time_interval_id FROM DUAL |
4c2b99d6af6c
Oracle: Added 'FROM DUAL' when selecting new ids from sequences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
4107
diff
changeset
|
3 next.discharge.id = SELECT DISCHARGE_TABLES_ID_SEQ.NEXTVAL AS discharge_table_id FROM DUAL |
4c2b99d6af6c
Oracle: Added 'FROM DUAL' when selecting new ids from sequences.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
4107
diff
changeset
|
4 next.discharge.table.values.id = SELECT DISCHARGE_TABLE_VALUES_ID_SEQ.NEXTVAL AS discharge_table_values_id FROM DUAL |
4107
96fd7f83adfb
Statements to make the FLYS database connection Oracle compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
5 |