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

    Modifier and Type
    Method
    Description
    org.springframework.jdbc.core.namedparam.SqlParameterSource
    Provide parameter values in an SqlParameterSource based on values from the provided item.
  • Method Details

    • createSqlParameterSource

      org.springframework.jdbc.core.namedparam.SqlParameterSource createSqlParameterSource(T item)
      Provide parameter values in an SqlParameterSource based on values from the provided item.
      Parameters:
      item - the item to use for parameter values
      Returns:
      parameters extracted from the item