Class CallParameterMetaData
java.lang.Object
org.springframework.jdbc.core.metadata.CallParameterMetaData
Holder of meta-data for a specific parameter that is used for call processing.
- Since:
- 2.5
- Author:
- Thomas Risberg, Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionCallParameterMetaData
(boolean function, String columnName, int columnType, int sqlType, String typeName, boolean nullable) Constructor taking all the properties including the function marker. -
Method Summary
Modifier and TypeMethodDescriptionReturn the parameter name.int
Return the parameter type.int
Return the parameter SQL type.Return the parameter type name.boolean
Return whether this parameter is declared in a function.boolean
Return whether the parameter is nullable.boolean
Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: typeDatabaseMetaData.procedureColumnReturn
orDatabaseMetaData.procedureColumnResult
, or in case of a function,DatabaseMetaData.functionReturn
.
-
Constructor Details
-
Method Details
-
isFunction
public boolean isFunction()Return whether this parameter is declared in a function.- Since:
- 5.2.9
-
getParameterName
Return the parameter name. -
getParameterType
public int getParameterType()Return the parameter type. -
isReturnParameter
public boolean isReturnParameter()Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: typeDatabaseMetaData.procedureColumnReturn
orDatabaseMetaData.procedureColumnResult
, or in case of a function,DatabaseMetaData.functionReturn
.- Since:
- 4.3.15
-
getSqlType
public int getSqlType()Return the parameter SQL type. -
getTypeName
Return the parameter type name. -
isNullable
public boolean isNullable()Return whether the parameter is nullable.
-