commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hess <p...@pbone.biz>
Subject Re: [DbUtils] problem with BeanHandler
Date Mon, 05 Jul 2004 19:07:08 GMT
David Graham wrote:

> Download the latest nightly build and test with that.  DbUtils 1.0 shipped
> with a rather simple bean population implementation that causes this
> problem.  DbUtils 1.1 will ship with a smarter version that should handle
> numbers correctly.

I will do this right now, thanks!

> The actual cause of the problem is that Oracle is returning BigDecimal
> objects for numeric columns and your bean has an int property so DbUtils
> doesn't call the setter method.

Tried also to use long and Long and didn't worked. Tried it on hsql 
again 5 minutes ago - and didn't worked. I'm going for the nightly build 
now :)

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message