T - the target bean typepublic class HeaBeanListHandler<T> extends Object implements org.springframework.jdbc.core.ResultSetExtractor<List<T>>
ResultSetHandler implementation that converts a
ResultSet into a List of beans. This class is
thread safe.org.apache.commons.dbutils.ResultSetHandlerpublic List<T> extractData(ResultSet rs) throws SQLException
ResultSet into a List of beans with
the Class given in the constructor.extractData 在接口中 org.springframework.jdbc.core.ResultSetExtractor<List<T>>rs - The ResultSet to handle.null.SQLException - if a database access error occursorg.apache.commons.dbutils.RowProcessor#toBeanList(ResultSet, Class)Copyright © 2016. All rights reserved.