My batis and spring integration

时间:2016-07-11 20:27:05

标签: spring-mybatis

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?

1 个答案:

答案 0 :(得分:0)

作为一种解决方法,我为第二个表创建了一个新数据集,并通过.beforeStep(StepExecution)在ItemProcessor中使用它。