Interface ItemSqlParameterSourceProvider<T>
- All Known Implementing Classes:
BeanPropertyItemSqlParameterSourceProvider
public interface ItemSqlParameterSourceProvider<T>
A convenient strategy for providing SqlParameterSource for named parameter SQL updates.- Since:
- 2.0
- Author:
- Thomas Risberg
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.jdbc.core.namedparam.SqlParameterSource
createSqlParameterSource(T item)
Provide parameter values in anSqlParameterSource
based on values from the provided item.
Method Detail
createSqlParameterSource
org.springframework.jdbc.core.namedparam.SqlParameterSource createSqlParameterSource(T item)
Provide parameter values in anSqlParameterSource
based on values from the provided item.- Parameters:
item
- the item to use for parameter values- Returns:
- parameters extracted from the item