Skip to content

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

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

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