T - Class of result objects.public interface ResultMapper<T>
ResultSet to Java objects.
Mapper implementation has only two responsibilities: to create instance of appropriate class and fill it with data
from given ResultSet. Framework takes responsibility for processing and closing ResultSet.
The same implementations are used for both transforming result lists and single results.
T transform(ResultSet resultSet) throws SQLException
This method is called for each row in ResultSet.
resultSet - result set with dataSQLException - in case of reading errorCopyright © 2014–2015 Vracon s.r.o.. All rights reserved.