| java.lang.Object org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource org.springframework.jdbc.core.namedparam.MapSqlParameterSource
MapSqlParameterSource | public MapSqlParameterSource(String paramName, Object value)(Code) | | Create a new MapSqlParameterSource, with one value
comprised of the supplied arguments.
Parameters: paramName - the name of the parameter Parameters: value - the value of the parameter See Also: MapSqlParameterSource.addValue(String,Object) |
MapSqlParameterSource | public MapSqlParameterSource(Map values)(Code) | | Create a new MapSqlParameterSource based on a Map.
Parameters: values - a Map holding existing parameter values (can be null ) |
addValue | public MapSqlParameterSource addValue(String paramName, Object value)(Code) | | Add a parameter to this parameter source.
Parameters: paramName - the name of the parameter Parameters: value - the value of the parameter a reference to this parameter source,so it's possible to chain several calls together |
addValue | public MapSqlParameterSource addValue(String paramName, Object value, int sqlType)(Code) | | Add a parameter to this parameter source.
Parameters: paramName - the name of the parameter Parameters: value - the value of the parameter Parameters: sqlType - the SQL type of the parameter a reference to this parameter source,so it's possible to chain several calls together |
addValues | public MapSqlParameterSource addValues(Map values)(Code) | | Add a Map of parameters to this parameter source.
Parameters: values - a Map holding existing parameter values (can be null ) a reference to this parameter source,so it's possible to chain several calls together |
getValues | public Map getValues()(Code) | | Expose the current parameter values as read-only Map.
|
|
|