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