Hi
Thank you all for your replies.
Tables are generated by JPA and I am using Toplink essentials.

If I stick with JPA I will have no problem as the property type is float and
it takes care of conversion.

But If I switch to JDBC I will need to perform manual conversion. Also I
will need to perform some formatting in reporting system.

Thanks


Sylvain Leroux wrote:
> 
> Bien vu, Mark!
> 
>> In this particular case the original double value is also being cast
>> to 'float' at some point and thus losing about 7 extra digits of
>> accuracy.
>> 
>> Mark Thornton
> 
> 
> Was the table be created by JPA? What's the type of the corresponding
> column?
> 
> 
> -- 
> Website: http://www.chicoree.fr
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Values-in-double-fields-are-not-stored-as-I-specified.-tp25187579p25202082.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

Reply via email to