提交 e1345b1e 编写于 作者: S Serge Rider

#3956 Oracle: bring back time part of DATE values

上级 5f039e4d
......@@ -59,17 +59,23 @@ public class OracleTimestampValueHandler extends JDBCDateTimeValueHandler {
case Types.DATE:
return DEFAULT_DATE_FORMAT;
}
// Have to revert DATE format. I can't realize what is difference between TIMESTAMP and DATE without time part.
// Column types and lengths are the same. Data type name is the same. Oh, Oracle...
/*
if (type.getMaxLength() == OracleConstants.DATE_TYPE_LENGTH) {
return DEFAULT_DATE_FORMAT;
}
*/
return super.getNativeValueFormat(type);
}
protected String getFormatterId(DBSTypedObject column)
{
/*
if (column.getMaxLength() == OracleConstants.DATE_TYPE_LENGTH) {
return DBDDataFormatter.TYPE_NAME_DATE;
}
*/
return super.getFormatterId(column);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册