commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lian Liu <lian...@us.ibm.com>
Subject Does DbUtils handle boolean variables in beans?
Date Thu, 04 Mar 2004 01:02:44 GMT




Hi,

I have a question on DBUtils.  When I pass in a BeanListHandler to
QueryRunner's runQuery method, I expect that the bean will be populated
with the query results that I get back.  What if I have a boolean variable
in the bean, and the matching field in database is a smallint type? It
appears to me that the boolean value is always set to false even if the
value in database is 1.  Thank you in advance.

thanks,
Lian Liu


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


Mime
View raw message