getLoadQueryInfluencers().getEffectiveEntityGraph().applyConfiguredGraph( properties ); getLoadQueryInfluencers().getEffectiveEntityGraph().clear();
criteriaImpl, implementors[i], getLoadQueryInfluencers() );
roleAfterFlush.getRole(), shallow, getLoadQueryInfluencers().getEnabledFilters() ); roleBeforeFlush.getRole(), shallow, getLoadQueryInfluencers().getEnabledFilters() ); if ( autoFlushIfRequired( plan.getQuerySpaces() ) ) { roleAfterFlush.getRole(), shallow, getLoadQueryInfluencers().getEnabledFilters() );
@Override public ScrollableResultsImplementor scroll(Criteria criteria, ScrollMode scrollMode) { // TODO: Is this guaranteed to always be CriteriaImpl? CriteriaImpl criteriaImpl = (CriteriaImpl) criteria; checkOpenOrWaitingForAutoClose(); checkTransactionSynchStatus(); String entityName = criteriaImpl.getEntityOrClassName(); CriteriaLoader loader = new CriteriaLoader( getOuterJoinLoadable( entityName ), getFactory(), criteriaImpl, entityName, getLoadQueryInfluencers() ); autoFlushIfRequired( loader.getQuerySpaces() ); dontFlushFromFind++; try { return loader.scroll( this, scrollMode ); } finally { delayedAfterCompletion(); dontFlushFromFind--; } }
boolean nullable) throws HibernateException { final EffectiveEntityGraph effectiveEntityGraph = getLoadQueryInfluencers().getEffectiveEntityGraph(); final GraphSemantic semantic = effectiveEntityGraph.getSemantic(); final RootGraphImplementor<?> graph = effectiveEntityGraph.getGraph();
String[] implementors = factory.getImplementors(c.getEntityOrClassName()); CriteriaLoader loader = new CriteriaLoader((OuterJoinLoadable) factory.getEntityPersister(implementors[0]), factory, c, implementors[0], s.getLoadQueryInfluencers()); Field f = OuterJoinLoader.class.getDeclaredField("sql"); f.setAccessible(true);
criteria, implementors[i], getLoadQueryInfluencers() );
criteria, implementors[i], getLoadQueryInfluencers() );
getLoadQueryInfluencers().getEffectiveEntityGraph().applyConfiguredGraph( properties ); getLoadQueryInfluencers().getEffectiveEntityGraph().clear();
public ScrollableResults scroll(CriteriaImpl criteria, ScrollMode scrollMode) { errorIfClosed(); checkTransactionSynchStatus(); String entityName = criteria.getEntityOrClassName(); CriteriaLoader loader = new CriteriaLoader( getOuterJoinLoadable(entityName), factory, criteria, entityName, getLoadQueryInfluencers() ); autoFlushIfRequired( loader.getQuerySpaces() ); dontFlushFromFind++; try { return loader.scroll(this, scrollMode); } finally { dontFlushFromFind--; } }
public ScrollableResults scroll(CriteriaImpl criteria, ScrollMode scrollMode) { errorIfClosed(); checkTransactionSynchStatus(); String entityName = criteria.getEntityOrClassName(); CriteriaLoader loader = new CriteriaLoader( getOuterJoinLoadable(entityName), factory, criteria, entityName, getLoadQueryInfluencers() ); autoFlushIfRequired( loader.getQuerySpaces() ); dontFlushFromFind++; try { return loader.scroll(this, scrollMode); } finally { dontFlushFromFind--; } }