T - public class RowToObjectMapper<T> extends Object implements org.springframework.jdbc.core.RowMapper<T>
如果查询结果只包含一个列值,支持转换成String、Number
public T mapRow(ResultSet rs, int rowNum) throws SQLException
mapRow 在接口中 org.springframework.jdbc.core.RowMapper<T>SQLExceptionCopyright © 2019. All rights reserved.