commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [DBUtils] BeanHandler has problem retrieving Dates ?
Date Tue, 05 Jul 2005 18:38:44 GMT
It doesn't need to specifically check for Date because the first thing the
method does is an instanceof check.  So, if your bean property is a
java.util.Date and the JDBC driver returns a java.sql.Date or
java.sql.Timestamp the property should get set.

David


--- Henry Voyer <henry.voyer@gemplus.com> wrote:

> Hi everyone
> 
> I just used DBUtils for a date retreival. And to my astonishement it
> doesnt
> get the Dates.
> I looked in the BasicRowProcessor.isCompatibleType() method, there is no
> Date reference.
> 
> Is this normal ? and why?
> 
> Regards
> 
> Henry


Get Firefox!
http://www.mozilla.org/firefox/


		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

---------------------------------------------------------------------
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