| Constructor and Description |
|---|
VarCharType() |
| Modifier and Type | Method and Description |
|---|---|
String |
fromResult(ResultSet results,
int column)
Reads a result using a specific
ResultSet get method rather than
ResultSet.getObject(int). |
Integer |
getDefaultLength() |
Keyword |
getIdentifier() |
boolean |
hasLength() |
String |
read(ResultSet results,
int column)
Read the type from a JDBC
ResultSet. |
equals, getIdentifierSuffix, getSqlType, hashCode, toString, writepublic String fromResult(ResultSet results, int column) throws SQLException
BasicTypeResultSet get method rather than
ResultSet.getObject(int).fromResult in class BasicType<String>results - ResultSet set to the index of the result to be readcolumn - column index to readResultSetSQLException - on a failure to read from the result setpublic String read(ResultSet results, int column) throws SQLException
FieldTypeResultSet.public Keyword getIdentifier()
getIdentifier in interface FieldType<String>getIdentifier in class BasicType<String>String or Keywordpublic boolean hasLength()
public Integer getDefaultLength()
getDefaultLength in interface FieldType<String>getDefaultLength in class BaseType<String>