Interface SqlParameterSourceFactory

All Known Implementing Classes:
BeanPropertySqlParameterSourceFactory, ExpressionEvaluatingSqlParameterSourceFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface SqlParameterSourceFactory
Collaborator for JDBC adapters which allows creation of instances of SqlParameterSource for use in update operations.
Since:
2.0
  • Method Summary

    Modifier and Type Method Description
    org.springframework.jdbc.core.namedparam.SqlParameterSource createParameterSource​(java.lang.Object input)
    Return a new SqlParameterSource.
  • Method Details

    • createParameterSource

      org.springframework.jdbc.core.namedparam.SqlParameterSource createParameterSource​(java.lang.Object input)
      Return a new SqlParameterSource.
      Parameters:
      input - the raw message or query result to be transformed into a SqlParameterSource
      Returns:
      The parameter source.