接口 Util.ResultSetMappingResolutionContext
-
- 封闭类:
- Util
public static interface Util.ResultSetMappingResolutionContextContext for resolving result-set-mapping definitions
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidaddQueryReturns(NativeSQLQueryReturn... queryReturns)Callback to add query returns indicated by the result set mapping(s)voidaddQuerySpaces(String... querySpaces)Callback to add query spaces indicated by the result set mapping(s)ResultSetMappingDefinitionfindResultSetMapping(String name)Locate a ResultSetMappingDefinition by nameSessionFactoryImplementorgetSessionFactory()Access to the SessionFactory
-
-
-
方法详细资料
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Access to the SessionFactory- 返回:
- SessionFactory
-
findResultSetMapping
ResultSetMappingDefinition findResultSetMapping(String name)
Locate a ResultSetMappingDefinition by name- 参数:
name- The name of the ResultSetMappingDefinition to locate- 返回:
- The ResultSetMappingDefinition
-
addQueryReturns
void addQueryReturns(NativeSQLQueryReturn... queryReturns)
Callback to add query returns indicated by the result set mapping(s)- 参数:
queryReturns- The query returns
-
addQuerySpaces
void addQuerySpaces(String... querySpaces)
Callback to add query spaces indicated by the result set mapping(s)- 参数:
querySpaces- The query spaces
-
-