db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Boynes (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-83) Incorrect string conversion for DECIMAL on JDK1.5
Date Fri, 26 Nov 2004 00:01:20 GMT
     [ 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


Mime
View raw message