T - public interface ResultSetMapper<T>
ResultProvider 通过注解实现ResultProvider,
ProviderConfig,
SimpleJoinMappper| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
mapping(ExecuteContext ctx,
Class target,
ResultSet resultSet,
Annotation config)
将数据库查询结果集ResultSet映射到一个对象上,对象通过target指定
|
List<T> mapping(ExecuteContext ctx, Class target, ResultSet resultSet, Annotation config) throws SQLException
ctx - target - resultSet - config - 实现了ProviderConfig注解的注解,如果没有,则为空SQLExceptionCopyright © 2021. All rights reserved.