接口 Util.ResultClassesResolutionContext
-
- 封闭类:
- Util
public static interface Util.ResultClassesResolutionContextContext for resolving result-class 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)SessionFactoryImplementorgetSessionFactory()Access to the SessionFactory
-
-
-
方法详细资料
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Access to the SessionFactory- 返回:
- SessionFactory
-
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
-
-