T - the target bean typepublic class HeaBeanHandler<T> extends Object implements org.springframework.jdbc.core.ResultSetExtractor<T>
ResultSetHandler implementation that converts the first
ResultSet row into a JavaBean. This class is thread safe.org.apache.commons.dbutils.ResultSetHandlerpublic T extractData(ResultSet rs) throws SQLException
ResultSet into a bean with the
Class given in the constructor.extractData 在接口中 org.springframework.jdbc.core.ResultSetExtractor<T>rs - ResultSet to process.null if there were no
rows in the ResultSet.SQLException - if a database access error occursorg.apache.commons.dbutils.ResultSetHandler#handle(java.sql.ResultSet)Copyright © 2016. All rights reserved.