comparison flys-aft/src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties @ 4108:4c2b99d6af6c

Oracle: Added 'FROM DUAL' when selecting new ids from sequences. flys-aft/trunk@3656 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 11 Jan 2012 17:53:32 +0000
parents 96fd7f83adfb
children da1e897c7224
comparison
equal deleted inserted replaced
4107:96fd7f83adfb 4108:4c2b99d6af6c
1 next.gauge.id = SELECT GAUGES_ID_SEQ.NEXTVAL AS gauge_id 1 next.gauge.id = SELECT GAUGES_ID_SEQ.NEXTVAL AS gauge_id FROM DUAL
2 next.timeinterval.id = SELECT TIME_INTERVALS_ID_SEQ.NEXTVAL AS time_interval_id 2 next.timeinterval.id = SELECT TIME_INTERVALS_ID_SEQ.NEXTVAL AS time_interval_id FROM DUAL
3 next.discharge.id = SELECT DISCHARGE_TABLES_ID_SEQ.NEXTVAL AS discharge_table_id 3 next.discharge.id = SELECT DISCHARGE_TABLES_ID_SEQ.NEXTVAL AS discharge_table_id FROM DUAL
4 next.discharge.table.values.id = SELECT DISCHARGE_TABLE_VALUES_ID_SEQ.NEXTVAL AS discharge_table_values_id 4 next.discharge.table.values.id = SELECT DISCHARGE_TABLE_VALUES_ID_SEQ.NEXTVAL AS discharge_table_values_id FROM DUAL
5 5

http://dive4elements.wald.intevation.org