Constructor and Description |
---|
DateType() |
Modifier and Type | Method and Description |
---|---|
Date |
fromResult(ResultSet results,
int column)
Reads a result using a specific
ResultSet get method rather than
ResultSet.getObject(int) . |
Keyword |
getIdentifier() |
void |
write(PreparedStatement statement,
int index,
Date value)
Write the value into a JDBC
PreparedStatement . |
equals, getDefaultLength, getIdentifierSuffix, getSqlType, hashCode, hasLength, toString
public Date fromResult(ResultSet results, int column) throws SQLException
BasicType
ResultSet
get method rather than
ResultSet.getObject(int)
.fromResult
in class BasicType<Date>
results
- ResultSet
set to the index of the result to be readcolumn
- column index to readResultSet
SQLException
- on a failure to read from the result setpublic void write(PreparedStatement statement, int index, Date value) throws SQLException
FieldType
PreparedStatement
.public Keyword getIdentifier()
getIdentifier
in interface FieldType<Date>
getIdentifier
in class BasicType<Date>
String
or Keyword