接口 DiscriminatorMetadata
-
public interface DiscriminatorMetadataProvides the information needed to properly handle type discrimination in HQL queries, either by 'something.class' or 'type(something)' references.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 TypegetResolutionType()Get the type used to resolve the actual discriminator value resulting fromgetSqlFragment(java.lang.String)back into aClassreference.StringgetSqlFragment(String sqlQualificationAlias)Get the sql fragment that is used to determine the actual discriminator value for a row.
-
-
-
方法详细资料
-
getSqlFragment
String getSqlFragment(String sqlQualificationAlias)
Get the sql fragment that is used to determine the actual discriminator value for a row.- 参数:
sqlQualificationAlias- The qualification alias to append to any columns references in the generated fragment.- 返回:
- The fragment
-
getResolutionType
Type getResolutionType()
Get the type used to resolve the actual discriminator value resulting fromgetSqlFragment(java.lang.String)back into aClassreference.- 返回:
- The resolution type.
-
-