Top Description Fields Constructors Methods
org.hibernate.engine.query.spi

public Class EntityGraphQueryHint

extends Object
implements AppliedGraph
Class Inheritance
All Implemented Interfaces
org.hibernate.graph.spi.AppliedGraph
Annotations
@Deprecated
since:6.0
Imports
org.hibernate.graph.GraphSemantic, org.hibernate.graph.spi.AppliedGraph, .RootGraphImplementor, org.checkerframework.checker.nullness.qual.Nullable

Deprecated

since 6.0.

use AppliedGraph instead

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.
Author
Brett Meyer

Field Summary

Modifier and TypeField and Description
private final AppliedGraph

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @Nullable RootGraphImplementor<?>
public @Nullable GraphSemantic
getSemantic()

Implements org.hibernate.graph.spi.AppliedGraph.getSemantic.

The semantic (fetch/load) under which the graph should be applied
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

delegateback to summary
private final AppliedGraph delegate

Constructor Detail

EntityGraphQueryHintback to summary
public EntityGraphQueryHint(AppliedGraph delegate)

Method Detail

getGraphback to summary
public @Nullable RootGraphImplementor<?> getGraph()

Implements org.hibernate.graph.spi.AppliedGraph.getGraph.

Doc from org.hibernate.graph.spi.AppliedGraph.getGraph.

The applied graph

Annotations
@Override
getSemanticback to summary
public @Nullable GraphSemantic getSemantic()

Implements org.hibernate.graph.spi.AppliedGraph.getSemantic.

Doc from org.hibernate.graph.spi.AppliedGraph.getSemantic.

The semantic (fetch/load) under which the graph should be applied

Annotations
@Override