类 EntityReferenceAliasesImpl

    • 构造器详细资料

      • EntityReferenceAliasesImpl

        public EntityReferenceAliasesImpl​(String tableAlias,
                                          EntityAliases columnAliases)
    • 方法详细资料

      • getTableAlias

        public String getTableAlias()
        从接口复制的说明: EntityReferenceAliases
        Obtain 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()
        从接口复制的说明: EntityReferenceAliases
        Obtain 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.