Class EntityGraphQueryHint

  • All Implemented Interfaces:
    AppliedGraph

    public class EntityGraphQueryHint
    extends java.lang.Object
    implements AppliedGraph
    Encapsulates a JPA EntityGraph provided through a JPQL query hint. Converts the fetches into a list of AST FromElements. The logic is kept here as much as possible in order to make it easy to remove this in the future, once our AST is improved and this "hack" is no longer needed.
    • Method Detail

      • toFromElements

        public java.util.List<org.hibernate.hql.internal.ast.tree.FromElement> toFromElements​(org.hibernate.hql.internal.ast.tree.FromClause fromClause,
                                                                                              org.hibernate.hql.internal.ast.HqlSqlWalker walker)
      • getOriginEntityGraph

        @Deprecated
        public EntityGraph<?> getOriginEntityGraph()
        Deprecated.
        (5.4) Use getGraph()
      • getHintName

        @Deprecated
        public java.lang.String getHintName()
        Deprecated.
        (5.4) Use getSemantic()