public class MappedStatementFactory extends Object
| 构造器和说明 |
|---|
MappedStatementFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.ibatis.mapping.MappedStatement |
changeMappedStatementResultType(org.apache.ibatis.mapping.MappedStatement ms,
Class<?> resultType)
根据现有的 ms 创建一个新的,使用新的返回值类型
|
static org.apache.ibatis.mapping.MappedStatement |
changeMappedStatementResultType(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.mapping.SqlSource sqlSource,
Class<?> resultType) |
static org.apache.ibatis.mapping.MappedStatement |
changeMappedStatementResultType(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.mapping.SqlSource sqlSource,
Class<?> resultType,
List<org.apache.ibatis.mapping.ResultMapping> resultMappingList) |
public static org.apache.ibatis.mapping.MappedStatement changeMappedStatementResultType(org.apache.ibatis.mapping.MappedStatement ms,
Class<?> resultType)
ms - MappedStatementresultType - 新的类型public static org.apache.ibatis.mapping.MappedStatement changeMappedStatementResultType(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.mapping.SqlSource sqlSource,
Class<?> resultType)
Copyright © 2021. All rights reserved.