commons-dev mailing list archives

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


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.

Lian Liu

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message