Example usage for Java org.springframework.jdbc.core.namedparam MapSqlParameterSource fields, constructors, methods, implement or subclass
The text is from its open source code.
MapSqlParameterSource() Create an empty MapSqlParameterSource, with values to be added via addValue . | |
MapSqlParameterSource(String paramName, @Nullable Object value) Create a new MapSqlParameterSource, with one value comprised of the supplied arguments. | |
MapSqlParameterSource(@Nullable Map Create a new MapSqlParameterSource based on a Map. |
MapSqlParameterSource | addValue(String paramName, @Nullable Object value) Add a parameter to this parameter source. |
MapSqlParameterSource | addValue(String paramName, @Nullable Object value, int sqlType) Add a parameter to this parameter source. |
MapSqlParameterSource | addValues(@Nullable Map Add a Map of parameters to this parameter source. |
Object | getValue(String paramName) |
Map | getValues() Expose the current parameter values as read-only Map. |