You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/09/21 18:30:38 UTC
[jira] Closed: (DERBY-4626) Timestamp truncated when converted to
string with explicit calendar
[ https://issues.apache.org/jira/browse/DERBY-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen closed DERBY-4626.
-------------------------------------
Fix Version/s: 10.7.0.0
Resolution: Fixed
> Timestamp truncated when converted to string with explicit calendar
> -------------------------------------------------------------------
>
> Key: DERBY-4626
> URL: https://issues.apache.org/jira/browse/DERBY-4626
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.5.3.0
> Reporter: Knut Anders Hatlen
> Assignee: C.S. Nirmal J. Fernando
> Fix For: 10.7.0.0
>
> Attachments: test.diff, TimestampToVarchar.java
>
>
> When setting the value of a VARCHAR parameter with setTimestamp() the timestamp is truncated to microsecond resolution if a calendar is specified. Nanosecond resolution is preserved when a calendar is not specified. These two methods should behave the same way. Since Derby supports nanosecond resolution, the timestamps should not be truncated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.