ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shilpa <shilpa.prad...@judiciary.state.nj.us>
Subject Re: QueryForObject returns wrong data
Date Wed, 27 Jul 2005 16:17:37 GMT
Larry Meadors <larry.meadors <at> gmail.com> writes:

> 
> What I mean is if you set the scale on the object, is the real value there?
> yourBigDecimal.setScale(2);
> Larry


I am geting only 99 from iBatis, not 99.11
I am printing what I am getting in set method of value object, and its showing 
me just 99. I called scale() method on BigDecimal object returned by iBatis, 
and its giving me '0'.

What could be the problem? 

Lot of other people at my work place is also facing the same problem.

Can anyone help us regarding this?

Thanks,
Shilpa





Mime
View raw message