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
ConstructorsConstructorDescriptionCallParameterMetaData(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.intReturn the parameter type.intReturn the parameter SQL type.Return the parameter type name.booleanReturn whether this parameter is declared in a function.booleanReturn whether the parameter is nullable.booleanDetermine whether the declared parameter qualifies as a 'return' parameter for our purposes: typeDatabaseMetaData.procedureColumnReturnorDatabaseMetaData.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.procedureColumnReturnorDatabaseMetaData.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.
-