parseToList

fun <T : Any> parseToList(resultSet: ResultSet, clazz: Class<T>, initialArraySize: Int = 0): 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