db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (DERBY-2602) TIMESTAMP value is truncated when return to client
Date Mon, 12 Jul 2010 16:58:49 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mamta A. Satoor reopened DERBY-2602:
------------------------------------

      Assignee: Mamta A. Satoor  (was: Rick Hillegas)

I am looking at backporting this to 10.5 since DERBY-4615 seems to have dependency on this
jira. Let me know if there is any objection to this backport. The changes that went in for
this jira seem to have specific code changes for 10.6 and higher codeline. I will try to change
it to have those changes work for 10.5 and higher and run the regression tests to see how
they go.

> TIMESTAMP value is truncated  when return to client
> ---------------------------------------------------
>
>                 Key: DERBY-2602
>                 URL: https://issues.apache.org/jira/browse/DERBY-2602
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>            Reporter: Kathey Marsden
>            Assignee: Mamta A. Satoor
>            Priority: Minor
>             Fix For: 10.6.1.0
>
>         Attachments: d2602.java, derby-2602-01-ad-dontTruncate.diff, derby-2602-01-ae-dontTruncate.diff,
derby-2602-01-af-dontTruncate.diff
>
>
> In ParameterMappingTest   I see the following differences between embedded and client.
 Client is truncating the TIMESTAMP value.  Look for this bug number in the test for reproduction.
>  case java.sql.Types.TIMESTAMP:
>             if (param == 2)
>                 if (usingEmbedded())
>                     assertEquals("2004-03-12 21:14:24.938222433", val.toString());
>                 else
>                     assertEquals("2004-03-12 21:14:24.938222", val.toString());
>             else if (param == 3)
>                 if (usingEmbedded())
>                     assertEquals("2004-04-12 04:25:26.462983731", val.toString());
>                 else
>                     assertEquals("2004-04-12 04:25:26.462983", val.toString());
>             break; 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message