SqlParameterSource interface.
| Modifier and Type | Field and Description |
|---|---|
| public static final EmptySqlParameterSource | INSTANCE
A shared instance of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getParameterNames()
Overrides default org. Enumerate all available parameter names if possible. |
| public int | getSqlType(String
the name of the parameter paramName)Overrides default org. Determine the SQL type for the specified named parameter. |
| public String | getTypeName(String
the name of the parameter paramName)Overrides default org. Determine the type name for the specified named parameter. |
| public Object | getValue(String
the name of the parameter paramName)Implements org. Return the parameter value for the requested named parameter. |
| public boolean | hasValue(String
the name of the parameter paramName)Implements org. Determine whether there is a value for the specified named parameter. |
| INSTANCE | back to summary |
|---|---|
| public static final EmptySqlParameterSource INSTANCE A shared instance of | |
| EmptySqlParameterSource | back to summary |
|---|---|
| public EmptySqlParameterSource() | |
| getParameterNames | back to summary |
|---|---|
| public String[] getParameterNames() Overrides default org. Doc from org. Enumerate all available parameter names if possible. This is an optional operation, primarily for use with
| |
| getSqlType | back to summary |
|---|---|
| public int getSqlType(String paramName) Overrides default org. Doc from org. Determine the SQL type for the specified named parameter. | |
| getTypeName | back to summary |
|---|---|
| public String getTypeName(String paramName) Overrides default org. Doc from org. Determine the type name for the specified named parameter. | |
| getValue | back to summary |
|---|---|
| public Object getValue(String paramName) throws IllegalArgumentException Implements org. Doc from org. Return the parameter value for the requested named parameter.
| |
| hasValue | back to summary |
|---|---|
| public boolean hasValue(String paramName) Implements org. Doc from org. Determine whether there is a value for the specified named parameter. | |