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 "Jeremy Boynes (JIRA)" <de...@db.apache.org> on 2004/11/26 01:01:20 UTC

[jira] Updated: (DERBY-83) Incorrect string conversion for DECIMAL on JDK1.5

     [ http://nagoya.apache.org/jira/browse/DERBY-83?page=history ]

Jeremy Boynes updated DERBY-83:
-------------------------------

    Attachment: derby_decimal_format.patch

Patch which makes SQLDecimal use BigDecimal.toPlainString() on JDK1.5 so that generated text is the same as in prior versions.

This uses reflection to invoke toPlainString() allowing the code to be compiled on earlier VMs.

> Incorrect string conversion for DECIMAL on JDK1.5
> -------------------------------------------------
>
>          Key: DERBY-83
>          URL: http://nagoya.apache.org/jira/browse/DERBY-83
>      Project: Derby
>         Type: Improvement
>   Components: SQL
>  Environment: JDK1.5
>     Reporter: Jeremy Boynes
>  Attachments: derby_decimal_format.patch
>
> On JDK1.5, BigDecimal.toString() will use exponential notation for small values. This results in different text from SQLDecimal.getString() on 1.5 vs. earlier VMs

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira