Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MyBatisCursorItemReader not work with Spring Cloud Task #730

Open
szopal opened this issue Oct 4, 2022 · 0 comments
Open

MyBatisCursorItemReader not work with Spring Cloud Task #730

szopal opened this issue Oct 4, 2022 · 0 comments

Comments

@szopal
Copy link

szopal commented Oct 4, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant