Release Notes > JTGO 4.0 Release Notes > New Features > Data Sources

The data source now has the following enhancements:

Batches

Modifications to the data source content can be grouped in batches. Batched modifications are applied simultaneously for better performance.

For more information, see methods IlvBatchable.startBatch() and IlvBatchable.endBatch() in the JTGO Java API Reference Documentation.

See also section Grouping Changes in Batches in the Business Objects and Data Sources documentation.

Filter

When loading a new file into the data source or when writing a file from the data source contents, it is now possible to define a filter that is applied to the objects that are being read or written.

When reading a new file into the data source, an object is only added, updated or removed from the data source if it is accepted by the current filter.

When writing a data source to a file, an object is only part of the output if it is accepted by the current filter.

For more information, see the methods IlpDefaultDataSource.parse (InputSource, IlpFilter) and IlpDefaultDataSource.output(Writer, IlpFilter) in the JTGO Java API Reference Documentation.