Mercurial > dive4elements > river
view etl/src/main/resources/sql/flys-oracle-jdbc-oracledriver.properties @ 9670:07d854c325d8 3.2.x
Tighten code a bit
PostgreSQL database names might also contain dots and since the extra
pattern matches a subset of the other, it will never match anyhow.
Thus remove the extra pattern, a lot of duplicate code and some
superfluous debug logging.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 20 May 2020 17:50:27 +0200 |
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