parseToList

fun <T : Any> parseToList(resultSet: ResultSet, clazz: Class<T>): List<T>

Get columns' values of all rows as a list of DTOs of type clazz, then close ResultSet

Throws

on invalid mapping

from JDBC