org.hibernate.engine.query.spi.QueryPlanCache Java Examples
The following examples show how to use
org.hibernate.engine.query.spi.QueryPlanCache.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ReactiveSessionImpl.java From hibernate-reactive with GNU Lesser General Public License v2.1 | 4 votes |
@Override protected ReactiveHQLQueryPlan getQueryPlan(String query, boolean shallow) throws HibernateException { QueryPlanCache queryPlanCache = getFactory().getQueryPlanCache(); return (ReactiveHQLQueryPlan) queryPlanCache.getHQLQueryPlan( query, shallow, getLoadQueryInfluencers().getEnabledFilters() ); }
Example #2
Source File: SessionFactoryDelegatingImpl.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public QueryPlanCache getQueryPlanCache() { return delegate.getQueryPlanCache(); }
Example #3
Source File: SessionFactoryImpl.java From lams with GNU General Public License v2.0 | 4 votes |
public QueryPlanCache getQueryPlanCache() { return queryPlanCache; }
Example #4
Source File: SessionFactoryWrapper.java From lemon with Apache License 2.0 | 4 votes |
public QueryPlanCache getQueryPlanCache() { return sessionFactoryImplementor.getQueryPlanCache(); }
Example #5
Source File: SessionFactoryImplementor.java From lams with GNU General Public License v2.0 | 2 votes |
/** * Access to the cachres of HQL/JPQL and native query plans. * * @return The query plan cache * * @deprecated (since 5.2) it will be replaced with the new QueryEngine concept introduced in 6.0 */ @Deprecated QueryPlanCache getQueryPlanCache();