org.d2rq.db.vendor
Class MySQL.MySQLCompatibilityTimestampDataType
java.lang.Object
org.d2rq.db.types.DataType
org.d2rq.db.types.SQLTimestamp
org.d2rq.db.vendor.MySQL.MySQLCompatibilityTimestampDataType
- Enclosing class:
- MySQL
public static class MySQL.MySQLCompatibilityTimestampDataType
- extends SQLTimestamp
Fields inherited from class org.d2rq.db.types.DataType |
log |
Method Summary |
String |
value(ResultSet resultSet,
int column)
Retrieves a string value in preferred format (canonical form
of the closest XSD type) from a SQL ResultSet. |
MySQL.MySQLCompatibilityTimestampDataType
public MySQL.MySQLCompatibilityTimestampDataType()
value
public String value(ResultSet resultSet,
int column)
throws SQLException
- Description copied from class:
DataType
- Retrieves a string value in preferred format (canonical form
of the closest XSD type) from a SQL ResultSet.
- Overrides:
value
in class SQLTimestamp
- Parameters:
resultSet
- Result of a SELECT querycolumn
- The column index to retrieve; leftmost columns is 1
- Returns:
- String representation, or
null
if SQL result was null or is not representable in the XSD type
- Throws:
SQLException