spring icon indicating copy to clipboard operation
spring copied to clipboard

MyBatisPagingItemReader not work properly

Open szopal opened this issue 2 years ago • 0 comments

Hi,

In our project we use Spring Cloud Task + Spring Batch - we would like to increase performance and memory efficiency by using MyBatisPagingItemReader but it seems like params

    parameters.put("_page", getPage());
    parameters.put("_pagesize", getPageSize());
    parameters.put("_skiprows", getPage() * getPageSize());

wasn't passed to SQL because paging is not executed.

szopal avatar Oct 04 '22 08:10 szopal