Class CallParameterMetaData
- java.lang.Object
- org.springframework.jdbc.core.metadata.CallParameterMetaData
public class CallParameterMetaData extends Object
Holder of meta-data for a specific parameter that is used for call processing.- Since:
- 2.5
- Author:
- Thomas Risberg, Juergen Hoeller
- See Also:
GenericCallMetaDataProvider
Constructor Summary
Constructors Constructor Description CallParameterMetaData(String columnName, int columnType, int sqlType, String typeName, boolean nullable)
Constructor taking all the properties.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getParameterName()
Get the parameter name.int
getParameterType()
Get the parameter type.int
getSqlType()
Get the parameter SQL type.String
getTypeName()
Get the parameter type name.boolean
isNullable()
Get whether the parameter is nullable.boolean
isReturnParameter()
Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: typeDatabaseMetaData.procedureColumnReturn
orDatabaseMetaData.procedureColumnResult
.
Constructor Detail
CallParameterMetaData
public CallParameterMetaData(String columnName, int columnType, int sqlType, String typeName, boolean nullable)
Constructor taking all the properties.
Method Detail
getParameterName
public String getParameterName()
Get the parameter name.
getParameterType
public int getParameterType()
Get the parameter type.
isReturnParameter
public boolean isReturnParameter()
Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: typeDatabaseMetaData.procedureColumnReturn
orDatabaseMetaData.procedureColumnResult
.- Since:
- 4.3.15
getSqlType
public int getSqlType()
Get the parameter SQL type.
getTypeName
public String getTypeName()
Get the parameter type name.
isNullable
public boolean isNullable()
Get whether the parameter is nullable.