de.fuberlin.wiwiss.d2rq.sql.vendor
Class Oracle.OracleCompatibilityTimeZoneLocalDataType
java.lang.Object
de.fuberlin.wiwiss.d2rq.sql.types.DataType
de.fuberlin.wiwiss.d2rq.sql.types.SQLTimestamp
de.fuberlin.wiwiss.d2rq.sql.vendor.Oracle.OracleCompatibilityTimeZoneLocalDataType
- Enclosing class:
- Oracle
public static class Oracle.OracleCompatibilityTimeZoneLocalDataType
- extends SQLTimestamp
getString() doesn't really work for TIMESTAMP WITH LOCAL TIME ZONE,
we have to use getTimestamp() and format the resulting Timestamp object
according to the session's time zone.
- Author:
- Aftab Iqbal
Fields inherited from class de.fuberlin.wiwiss.d2rq.sql.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. |
Oracle.OracleCompatibilityTimeZoneLocalDataType
public Oracle.OracleCompatibilityTimeZoneLocalDataType(Vendor syntax,
String name)
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