db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Ji" <hongco...@gmail.com>
Subject Re: java.sql.SQLDataException: The resulting value is outside the range for the data type DOUBLE.
Date Thu, 31 Jan 2008 20:30:37 GMT
Thanks for the replies.

It will definitely help if the Java  Double.MAX_VALUE and
Double.MIN_VALUEare supported in Derby.

Any reason why the Double.MAX_VALUE/Double.MIN_VALE are different in Derby
and Java?


Hong


On Jan 28, 2008 6:50 AM, Thomas Nielsen <Thomas.Nielsen@sun.com> wrote:

> Mark Thornton wrote:
> > The more interesting question is whether those limits should remain
> > different or should they be brought into alignment with Java Double
> > (and add +-infinite and NaN as well).
> It would probably be good to fully support the java Double datatype, but
> see DERBY-3290 for some consderations on Double.NaN and
> Double.POSITIVE|NEGATIVE_INFINITY.
>
> Thomas
>

Mime
View raw message