Mercurial > dive4elements > river
view etl/src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties @ 8470:c5a7aae52396
Added a validation SQL query to database backends.
Enable it by storing something like "SELECT 1 FROM DUAL" in config
under /artifact-database/backend-database/validation-query/text()
or /artifact-database/seddb-database/validation-query/text().
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 12 Nov 2014 13:31:53 +0100 |
parents | 5aa05a7a34b7 |
children |
line wrap: on
line source
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