Closed
Description
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:
- Doc: ParameterMetaData.getParameterType performance on Oracle 12c [SPR-16139] #20687 Doc: ParameterMetaData.getParameterType performance on Oracle 12c
- SqlParameterSource needs method for extracting parameter names [SPR-16361] #20908 SqlParameterSource needs method for extracting parameter names