类 EntityReferenceAliasesImpl
- java.lang.Object
-
- org.hibernate.loader.plan.exec.internal.EntityReferenceAliasesImpl
-
- 所有已实现的接口:
EntityReferenceAliases
public class EntityReferenceAliasesImpl extends Object implements EntityReferenceAliases
- 作者:
- Gail Badner, Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 EntityReferenceAliasesImpl(String tableAlias, EntityAliases columnAliases)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EntityAliasesgetColumnAliases()Obtain the column aliases for the select fragment columns associated with the described entity reference.StringgetTableAlias()Obtain the table alias used for referencing the table of the EntityReference.
-
-
-
构造器详细资料
-
EntityReferenceAliasesImpl
public EntityReferenceAliasesImpl(String tableAlias, EntityAliases columnAliases)
-
-
方法详细资料
-
getTableAlias
public String getTableAlias()
从接口复制的说明:EntityReferenceAliasesObtain the table alias used for referencing the table of the EntityReference. Note that this currently just returns the "root alias" whereas sometimes an entity reference covers multiple tables. todo : to help manage this, consider a solution like TableAliasRoot from the initial ANTLR re-work see http://anonsvn.jboss.org/repos/hibernate/core/branches/antlr3/src/main/java/org/hibernate/sql/ast/alias/TableAliasGenerator.java- 指定者:
getTableAlias在接口中EntityReferenceAliases- 返回:
- The (root) table alias for the described entity reference.
-
getColumnAliases
public EntityAliases getColumnAliases()
从接口复制的说明:EntityReferenceAliasesObtain the column aliases for the select fragment columns associated with the described entity reference. These are the column renames by which the values can be extracted from the SQL result set.- 指定者:
getColumnAliases在接口中EntityReferenceAliases- 返回:
- The column aliases associated with the described entity reference.
-
-