You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David Graham <gr...@yahoo.com> on 2005/07/05 20:38:44 UTC

Re: [DBUtils] BeanHandler has problem retrieving Dates ?

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 <he...@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