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

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

Closed
spring-projects-issues opened this issue Jun 16, 2010 · 3 comments
Closed
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jun 16, 2010

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:

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jul 22, 2010

Thomas Risberg commented

The #11000 issue seems to cover the same topic.

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jul 22, 2010

Thomas Risberg commented

Please see my comment on #11000

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jun 5, 2011

Thomas Risberg commented

I've committed the changes contributed for #11000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant