Howto aggregate on full data set in Spring Batch jobs?
问题 I need to insert aggregation in my Spring Batch jobs. But the aggregation step need to have the entire data set available. In pure SQL, it's easy to code SQL aggregation requests : the full data set (as stored in database) is available. But in Spring Batch jobs, everything is done in memory, and spread in chunked. So howto deal with that kind of data strewing ? Do you have any advice concerning the best practices to insert aggregation steps/processes ? Thx a lot for your enlightments 回答1: You