SqlParameterSource,
in particular with NamedParameterJdbcTemplate.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static SqlParameterSource[] | Returns: an array ofSqlParameterSourceobject array of objects containing the values to be used candidates)Create an array of |
| public static SqlParameterSource[] | Returns: an array ofSqlParameterSourcecollection of objects containing the values to be used candidates)Create an array of |
| public static SqlParameterSource[] | Returns: an array ofSqlParameterSourcearray of valueMaps)Map instances containing the values to be usedCreate an array of |
| public static Map | Returns: the Map that can be used for case-insensitive matching of parameter namesthe source of parameter names parameterSource)Create a Map of case-insensitive parameter names together with the original name. |
| public static Object | Returns: the value objectthe source of parameter values and type information source, String the name of the parameter parameterName)Create a wrapped value if parameter has type information, plain object if not. |
| SqlParameterSourceUtils | back to summary |
|---|---|
| public SqlParameterSourceUtils() | |
| createBatch | back to summary |
|---|---|
| public static SqlParameterSource[] createBatch(Object... candidates) Create an array of
| |
| createBatch | back to summary |
|---|---|
| public static SqlParameterSource[] createBatch(Collection<?> candidates) Create an array of
| |
| createBatch | back to summary |
|---|---|
| public static SqlParameterSource[] createBatch(Map<String, ?>[] valueMaps) Create an array of
| |
| extractCaseInsensitiveParameterNames | back to summary |
|---|---|
| public static Map Create a Map of case-insensitive parameter names together with the original name.
| |
| getTypedValue | back to summary |
|---|---|
| public static Object getTypedValue(SqlParameterSource source, String parameterName) Create a wrapped value if parameter has type information, plain object if not.
| |