InitLoader provided by Wagby treats one record as one XML file. By applying this we will explain how to capture data from the backbone system.
InitLoader provided by Wagby treats one record as one XML file. Therefore, by converting the data of the external system to the XML format (via InitLoader) it can be imported into the Wagby application.
At this time, as for the primary key, it is defined as automatic numbering in the Wagby definition file, and "-1" value can be set on the XML side to import.Specifically, it is as follows.
<staff> <!-- Wagby側の主キー。常に “-1” を設定する。--> <staffid>-1</staffid> <name>山田太郎</name> ... </staff>
In this way, you can automatically assign a primary key.
Using the InitLoader update mode, existing data and data to be updated (newly)MergeYou can update it.By doing this, by preparing an xml file containing only the primary key and the element to be updated, it is possible to update each piece of data without deleting the existing data.
Detailed specifications are as follows.