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