Constructor and Description |
---|
StoredProcedureParameter(String name,
CType jdbcType)
Constructs this StoredProcedureParameter with a type of
OUT . |
StoredProcedureParameter(String name,
CType jdbcType,
Object value)
Constructs this StoredProcedureParameter with a type of
IN . |
StoredProcedureParameter(String name,
StoredProcedureParameterType storedProcedureParameterType,
CType jdbcType,
Object value)
Constructs this StoredProcdureParameter.
|
Modifier and Type | Method and Description |
---|---|
CType |
getJdbcType()
Gets the JDBC type of this parameter.
|
String |
getName()
Gets the name of this parameter.
|
StoredProcedureParameterType |
getSqlParameterType()
Gets the type of this parameter.
|
Object |
getValue()
Gets the value of this parameter.
|
public StoredProcedureParameter(String name, CType jdbcType)
OUT
.name
- Name of this parameter.jdbcType
- The JDBC type of this parameter.IllegalArgumentException
- When the supplied name is empty.NullPointerException
- When either the supplied name or jdbcType is null.public StoredProcedureParameter(String name, CType jdbcType, Object value)
IN
.name
- Name of this parameter.jdbcType
- The JDBC type of this parameter.value
- The value of this parameter.IllegalArgumentException
- When the supplied name is empty.NullPointerException
- When either the supplied name or jdbcType is null.public StoredProcedureParameter(String name, StoredProcedureParameterType storedProcedureParameterType, CType jdbcType, Object value)
name
- Name of this parameter.storedProcedureParameterType
- The type of this SQL parameter.jdbcType
- The JDBC type of this parameter.value
- The value of this parameter.IllegalArgumentException
- When the supplied name is empty.NullPointerException
- When either the supplied name or jdbcType is null.public String getName()
public StoredProcedureParameterType getSqlParameterType()
public CType getJdbcType()
Copyright © 2008–2018. All rights reserved.