Skip to content

MyBatisCursorItemReader not work with Spring Cloud Task #730

Open
@szopal

Description

@szopal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions