Constructor and Description |
---|
SingleColumnRowMapper(Class<T> targetClass) |
public T handle(ResultSet rs, ResultSetMetaData rsmd, int rowNum) throws SQLException
handle
in interface RowMapper<T>
rs
- 结果集rowNum
- 处理的记录位置(第几条记录):可以只针对某一条记录做特殊处理,从0开始SQLException
Copyright © 2020. All rights reserved.