All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.norconex.committer.sql.SQLCommitterConfigTest.xml Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<!-- 
   Copyright 2017-2018 Norconex Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<committer class="com.norconex.committer.sql.SQLCommitter">
  <driverClass>driverClass</driverClass>
  <connectionUrl>connectionUrl</connectionUrl>
  <tableName>tableName</tableName>
  <driverPath>/some/path</driverPath>
  <properties>
    <property key="key1">value 1</property>
    <property key="key2">value 2</property>
  </properties>
  <createTableSQL>CREATE TABLE blah</createTableSQL>
  <createFieldSQL>CREATE FIELD blah</createFieldSQL>
  <multiValuesJoiner>^^</multiValuesJoiner>
  <username>joe</username>
  <password>password</password>
  <passwordKey>/some/file</passwordKey>
  <passwordKeySource>file</passwordKeySource>
  <fixFieldNames>true</fixFieldNames>
  <fixFieldValues>true</fixFieldValues>

  <sourceReferenceField keep="true">sourceReferenceField</sourceReferenceField>
  <targetReferenceField>targetReferenceField</targetReferenceField>
  <sourceContentField keep="true">sourceContentField</sourceContentField>
  <targetContentField>targetContentField</targetContentField>
  <commitBatchSize>10</commitBatchSize>
  <queueDir>/tmp/somedir</queueDir>
  <queueSize>10</queueSize>
  <maxRetries>3</maxRetries>
  <maxRetryWait>3000</maxRetryWait>
</committer>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy