Class EntityGraphQueryHint

  • All Implemented Interfaces:

    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

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

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