@FunctionalInterface public interface RsHandler<T> extends Serializable
ResultSet
转换或映射为用户指定的pojo对象
默认实现有:EntityHandler
,
EntityListHandler
,
EntitySetHandler
,
EntitySetHandler
,
NumberHandler
,
PageResultHandler
Modifier and Type | Method and Description |
---|---|
T |
handle(ResultSet rs)
处理结果集
结果集处理后不需要关闭 |
T handle(ResultSet rs) throws SQLException
rs
- 结果集SQLException
- SQL异常Copyright © 2024. All rights reserved.