Package io.jmix.dataimport.configuration
package io.jmix.dataimport.configuration
-
ClassDescriptionAvailable policies to process a found duplicate: Update: an extracted entity not imported, existing one is updated.An object that allows configuring import process of entities from JSON, XML, CSV, XLSX.Builds an instance of
ImportConfiguration
using the following parameters: Entity class (required): class of entity that will be imported using created import configuration Input data format (required): xlsx, csv, json or xml. Property mappings: list ofPropertyMapping
Transaction strategy:ImportTransactionStrategy
.The way how to import the entities: Single transaction: if any entity import fails, the import process fails Transaction per entity: if any entity import fails, the import process continues Transaction per batch: the entities are imported by batches.Allows configuring how to process a case if the entity with the same values of the particular properties already exists.