TimeType may lose fractional seconds

Description

TimeType, which maps a time to a .Net DateTime, loses milliseconds with some dialects, such as Oracle.

This happens when the underlying datarow supplied by the data driver holds a .Net DateTime instead of a .Net TimeSpan. There is a sort of conversion occurring in TimeType in this case, which forgets fractional seconds.

Environment

None

Activity

Show:
Frédéric Delaporte
October 2, 2017, 8:05 AM
Edited

It is to be noted that currently Oracle dialect maps time to Oracle timestamp, which is a date and time type, while Oracle has a time type: INTERVAL DAY (day_precision) TO SECOND (fractional_seconds_precision).

Alex Zaytsev
October 2, 2017, 8:10 AM

there is a "preview" button in JIRA (Just on top of "Add" button)

Frédéric Delaporte
October 2, 2017, 8:46 AM

Yeah, for the main report, but I had never found it for comments. Ok, that the icon next to the help icon...

Assignee

Frédéric Delaporte

Reporter

Frédéric Delaporte

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure