////How to Set Database Specific Initialization Options
How to Set Database Specific Initialization Options 2018-03-26T14:23:53+00:00

How to Set Database Specific Initialization Options

In certain configurations it may be necessary to run specific SQL statements or set database specific options each time a connection to a database is established.

Oracle

The configuration file “Oracle.xml” contains parameters that control connections made to Oracle. The following configuration directives are supported:

  • InitSQL — specify a line of SQL that will be run each time a new connection to Oracle is established. There is no limit to the number of InitSQL elements.

The following Oracle.xml file will cause CopyStorm to run the command:

alter session set ‘_optimizer_rownum_pred_based_fkr’=FALSE

Oracle.xml:

<Oracle>
    <InitSQL sql="alter session set &quot;_optimizer_rownum_pred_based_fkr&quot;=FALSE" />
</Oracle>

CONTACTS

Product Questions: info@capstorm.com
Technical Support: support@capstorm.com
Phone: +1 314.403.2143