commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Guo <>
Subject How to use toBeanList() of BasicRowProcessor?
Date Sun, 29 Sep 2013 03:01:04 GMT
I encounter a problem in using dbutils:

I try to use toBeanList() to convert resultSet to bean, my code is:

*BasicRowProcessor basicRowProcessor = new BasicRowProcessor(new
*objectList = basicRowProcessor.toBeanList(resultSet, clazz);*

In PropertyColumnMapper(), I override the method mapColumnsToProperties(),
and the param clazz is the bean class.

I got exceptions, did I miss something? Could anybody help, thanks a lot.

Ling Guo

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message