Get columns' values of the first row as a DTO of type clazz, then close ResultSet
null if there is no rows
on invalid mapping
from JDBC