Skip to content

Extend JdbcTemplate to allow larger batch updates [SPR-7290] #11949

@spring-projects-issues

Description

@spring-projects-issues

Kenny MacLeod opened SPR-7290 and commented

The current implementation of JdbcTemplate can only process JDBC batch updates such that a single batch is sent. This isn't really suitable for very large batches, due to memory constraints.

Please extend this so that you can specify not only the total number of updates, but the maximum size of each batch.

For example, 2,000,000 updates, sent in batches of up to 100,000 each.


Affects: 3.0.3

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions