open static fun createBatch(vararg candidates: Any): Array<SqlParameterSource>
Create an array of SqlParameterSource objects populated with data from the values passed in (either a Map or a bean object). This will define what is included in a batch operation.
candidates - object array of objects containing the values to be used
Return
an array of SqlParameterSource
See Also
MapSqlParameterSourceBeanPropertySqlParameterSourceNamedParameterJdbcTemplate#batchUpdate(String, SqlParameterSource[])
open static fun createBatch(candidates: MutableCollection<*>): Array<SqlParameterSource>
Create an array of SqlParameterSource objects populated with data from the values passed in (either a Map or a bean object). This will define what is included in a batch operation.
candidates - collection of objects containing the values to be used
Return
an array of SqlParameterSource
Since
5.0.2
See Also
MapSqlParameterSourceBeanPropertySqlParameterSourceNamedParameterJdbcTemplate#batchUpdate(String, SqlParameterSource[])
open static fun createBatch(valueMaps: Array<MutableMap<String, *>>): Array<SqlParameterSource>
Create an array of MapSqlParameterSource objects populated with data from the values passed in. This will define what is included in a batch operation.
valueMaps - array of Map instances containing the values to be used
Return
an array of SqlParameterSource
See Also
MapSqlParameterSourceNamedParameterJdbcTemplate#batchUpdate(String, Map[])