Get columns' values of all rows as a list of DTOs of type clazz, then close ResultSet
on invalid mapping
from JDBC