You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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 acreateBatch(Collection)
variant in order to avoid manual array adaptation. That new variant could supportMap
as well as bean values, and it also makes sense to revise the plainObject[]
variant that way (and turn into a vararg).Issue Links:
Referenced from: commits a58ef88, a8b4884
The text was updated successfully, but these errors were encountered: