view etl/doc/conf-oracle.xml @ 9713:aef987124822 3.2.x

Do not rely on database default for setting hws_lines.official to 0 It's not under the control of the importer whether the field is rendered into an INSERT statement, whether it's actually set or not. If it is unset but rendered into the statement, the field would be set to NULL. Thus, always set it explicitly. While here, remove an unused import.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Mar 2021 15:11:44 +0100
parents 5aa05a7a34b7
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<sync>
  <!-- The path to the DiPs file -->
  <dips>
    <file>/path/to/the/DiPs_FLYS_7_1_7_5.xml</file>
    <repair>/path/to/the/doc/repair.xsl</repair>
  </dips>
  <!-- The FLYS side -->
  <side name="flys">
    <db>
      <driver>oracle.jdbc.OracleDriver</driver>
      <user>flys</user>
      <password>flys</password>
      <url>jdbc:oracle:thin:@//localhost:1521/XE</url>
    </db>
  </side>
  <!-- The AFT side -->
  <side name="aft">
    <db>
      <driver>oracle.jdbc.OracleDriver</driver>
      <user>aft</user>
      <password>aft</password>
      <url>jdbc:oracle:thin:@//localhost:1521/XE</url>
      <execute-login>
        <statement>ALTER SESSION SET CURRENT_SCHEMA=AFT</statement>
      </execute-login>
    </db>
  </side>
</sync>

http://dive4elements.wald.intevation.org