spring icon indicating copy to clipboard operation
spring copied to clipboard

MyBatisCursorItemReader not work with Spring Cloud Task

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 MyBatisCursorItemReader but:

  • MyBatisCursorItemReader required autocommit to false, unfortunately Spring Cloud Task require this params to true because not commit task to TASK_x table. If autocommit is set to true, then MyBatisCursorItemReader read whole rows from database as usual SQL not like cursor

szopal avatar Oct 04 '22 08:10 szopal