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

SqlParameterSourceUtils.createBatch with Collection support [SPR-16215] #20763

Closed
spring-projects-issues opened this issue Nov 18, 2017 · 0 comments
Assignees
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 Nov 18, 2017

Juergen Hoeller opened SPR-16215 and commented

As indicated in the sample code for #20687 and also in our reference documentation, SqlParameterSourceUtils should really have a createBatch(Collection) variant in order to avoid manual array adaptation. That new variant could support Map as well as bean values, and it also makes sense to revise the plain Object[] variant that way (and turn into a vararg).


Issue Links:

Referenced from: commits a58ef88, a8b4884

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

2 participants