Constructor and Description |
---|
IntegerSqlType() |
Modifier and Type | Method and Description |
---|---|
void |
bindParam(PreparedStatement ps,
int parameterIndex,
Integer value)
bindParam
|
Integer[] |
createArray(Integer value1,
Integer value2)
createArray
|
String |
formatValue(Integer value)
formatValue
|
String |
getValueAsString(Integer value)
getValueAsString
|
public String formatValue(Integer value)
formatValue
formatValue
in interface SQLType<Integer>
value
- a Integer
object.String
object.public String getValueAsString(Integer value)
getValueAsString
getValueAsString
in interface SQLType<Integer>
value
- a Integer
object.String
object.public void bindParam(PreparedStatement ps, int parameterIndex, Integer value) throws SQLException
bindParam
bindParam
in interface SQLType<Integer>
ps
- a PreparedStatement
object.parameterIndex
- a int.value
- a Integer
object.SQLException
- if any.Copyright © 2020. All rights reserved.