public class BeanPropertySqlParameterSourceFactory extends Object implements SqlParameterSourceFactory
SqlParameterSourceFactory which creates an SqlParameterSource to
reference bean properties in its input.| Constructor and Description |
|---|
BeanPropertySqlParameterSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
SqlParameterSource |
createParameterSource(Object input)
Return a new
SqlParameterSource. |
void |
setStaticParameters(Map<String,Object> staticParameters)
If the input is a List or a Map, the output is a map parameter source, and in that case some static parameters
can be added (default is empty).
|
public BeanPropertySqlParameterSourceFactory()
public void setStaticParameters(Map<String,Object> staticParameters)
staticParameters - the static parameters to setpublic SqlParameterSource createParameterSource(Object input)
SqlParameterSourceFactorySqlParameterSource.createParameterSource in interface SqlParameterSourceFactoryinput - the raw message or query result to be transformed into a SqlParameterSource