use of org.hibernate.sql.results.internal.StandardEntityGraphTraversalStateImpl in project hibernate-orm by hibernate.
the class LoaderSelectBuilder method determineGraphTraversalState.
private static EntityGraphTraversalState determineGraphTraversalState(LoadQueryInfluencers loadQueryInfluencers) {
if (loadQueryInfluencers != null) {
final EffectiveEntityGraph effectiveEntityGraph = loadQueryInfluencers.getEffectiveEntityGraph();
if (effectiveEntityGraph != null) {
final GraphSemantic graphSemantic = effectiveEntityGraph.getSemantic();
final RootGraphImplementor rootGraphImplementor = effectiveEntityGraph.getGraph();
if (graphSemantic != null && rootGraphImplementor != null) {
return new StandardEntityGraphTraversalStateImpl(graphSemantic, rootGraphImplementor);
}
}
}
return null;
}
Aggregations