There are two files File1 and File2. Some of the columns are common among these files. Job will have to process each of these files separately and load data into the database in the same table.
File1 columns are A,B and C.
File2 columns are D,B and C.
Questions:
1) What would be the best approach to impement this in terms of ItemReader, Tokenizer and Domain/Value object?
2) Do i create two FlatFileItemReader (one for each file - File1 and File2 in the DelegatingItemReader), which will handle seprate tokenizer (for File1 and File2)?


Reply With Quote
