# HG changeset patch # User Sascha L. Teichmann # Date 1326304412 0 # Node ID 4c2b99d6af6c1766b1c91e1c465633b85826b575 # Parent 96fd7f83adfb54e46daa38ca1cfed8f626be49fd Oracle: Added 'FROM DUAL' when selecting new ids from sequences. flys-aft/trunk@3656 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 96fd7f83adfb -r 4c2b99d6af6c flys-aft/ChangeLog --- a/flys-aft/ChangeLog Tue Jan 10 16:26:54 2012 +0000 +++ b/flys-aft/ChangeLog Wed Jan 11 17:53:32 2012 +0000 @@ -1,3 +1,9 @@ +2012-01-11 Sascha L. Teichmann + + * src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties: + Added 'FROM DUAL' clause when selecting new ids from sequences. + Sync process between AFT(Oracle) and FLYS(Oracle) is working now! + 2012-01-10 Sascha L. Teichmann * src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties: New. diff -r 96fd7f83adfb -r 4c2b99d6af6c flys-aft/src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties --- a/flys-aft/src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties Tue Jan 10 16:26:54 2012 +0000 +++ b/flys-aft/src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties Wed Jan 11 17:53:32 2012 +0000 @@ -1,5 +1,5 @@ -next.gauge.id = SELECT GAUGES_ID_SEQ.NEXTVAL AS gauge_id -next.timeinterval.id = SELECT TIME_INTERVALS_ID_SEQ.NEXTVAL AS time_interval_id -next.discharge.id = SELECT DISCHARGE_TABLES_ID_SEQ.NEXTVAL AS discharge_table_id -next.discharge.table.values.id = SELECT DISCHARGE_TABLE_VALUES_ID_SEQ.NEXTVAL AS discharge_table_values_id +next.gauge.id = SELECT GAUGES_ID_SEQ.NEXTVAL AS gauge_id FROM DUAL +next.timeinterval.id = SELECT TIME_INTERVALS_ID_SEQ.NEXTVAL AS time_interval_id FROM DUAL +next.discharge.id = SELECT DISCHARGE_TABLES_ID_SEQ.NEXTVAL AS discharge_table_id FROM DUAL +next.discharge.table.values.id = SELECT DISCHARGE_TABLE_VALUES_ID_SEQ.NEXTVAL AS discharge_table_values_id FROM DUAL