spring
spring copied to clipboard
MyBatisCursorItemReader not work with Spring Cloud Task
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