Sample XML and CSV file

This section contains sample XML mapping definition and sample CSV files for Employee Machine.

Sample XML mapping definition

<table-config>
    <table name="EMPLOYEE_MACHINE" transaction-type="INSERT" primary-key="EMPMACH_ID">
        <fields>
            <field index="1" db-field="EMP_ID">
                <reference table-name="EMPLOYEE" supplied-value="EMP_ID" resolve-to-field="EMP_ID"/>
            </field>
            <field index="2" db-field="MACH_ID">
                <reference table-name="MACHINE" supplied-value="MACH_ID" resolve-to-field="MACH_ID"/>
            </field>
        </fields>
    </table>
</table-config>

Sample CSV file

1000045,10020