view etl/doc/conf-oracle.xml @ 8566:fe7e9da6312a

(issue1797) Move close into session release and guard it. To avoid leaking open and Held sessions we centrally close the session in the SessionHolder on release. This also removes some duplicated code in SedDBSessionHolder
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 24 Feb 2015 17:16:14 +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