Skip to content

cacheEnabled bypasses BATCH mode #3408

Open
@TrentonAdams

Description

@TrentonAdams

cacheEnabled is true by default

When specifying a default executor type of BATCH, it is not used if cacheEnabled is true, and instead creates a cached executor.

To me this seems like a bug. If they are mutually exclusive, there should just be an ExecutorType.CACHED, because it took me hours to figure this out. I finally dived into the code, not thinking it would be a mybatis code problem. I should have done it earlier, but my claim stands, I consider that a bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions