Skip to content

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

Closed

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

Activity

  1. added
    in: data
    type: enhancement
    on Jan 11, 2019
  2. added this to the 5.0.2 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: datatype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions