I am trying to source values from 2 different tables using mybatis and spring batch. I tried writing a composite item reader, with readers for each query but I am not able to successfully configure. Is this implementation correct or are there any better approaches?
答案 0 :(得分:0)
作为一种解决方法,我为第二个表创建了一个新数据集,并通过.beforeStep(StepExecution)在ItemProcessor中使用它。