T - the target List generic typepublic abstract class AbstractListHandler<T> extends Object implements ResultSetHandler<List<T>>
ResultSetHandler
classes that convert ResultSet into List.ResultSetHandlerpublic List<T> handle(ResultSet rs) throws SQLException
ResultSet handler. It produce List as
result. To convert individual rows into Java objects it uses
handleRow(ResultSet) method.handle in interface ResultSetHandler<List<T>>rs - ResultSet to process.SQLException - error occurshandleRow(ResultSet)protected abstract T handleRow(ResultSet rs) throws SQLException
rs - ResultSet to process.SQLException - error occursCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.