/** * PUBLIC: * Clears the current cached results, the next execution with * read from the database. * */ public void clearQueryResults(AbstractSession session) { session.getIdentityMapAccessor().clearQueryCache(this); }
/** * PUBLIC: * Clears the current cached results, the next execution with * read from the database. * */ public void clearQueryResults(AbstractSession session) { session.getIdentityMapAccessor().clearQueryCache(this); }
/** * PUBLIC: * Clears the current cached results, the next execution with * read from the database. * */ public void clearQueryResults(AbstractSession session) { session.getIdentityMapAccessor().clearQueryCache(this); }
/** * ADVANCED: * Clear all the query caches */ @Override public void clearQueryCache() { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache(); }
/** * ADVANCED: * Clear the query class associated with the passed-in read query */ @Override public void clearQueryCache(ReadQuery query) { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache(query); }
/** * ADVANCED: * Clear the query class associated with the passed-in read query */ @Override public void clearQueryCache(ReadQuery query) { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache(query); }
/** * ADVANCED: * Clear all the query caches */ @Override public void clearQueryCache() { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache(); }
/** * ADVANCED: * Clear the query class associated with the passed-in read query */ public void clearQueryCache(ReadQuery query) { ((UnitOfWorkImpl)getSession()).getParent().getIdentityMapAccessor().clearQueryCache(query); }
/** * ADVANCED: * Clear the query cache associated with the named query on the session */ @Override public void clearQueryCache(String sessionQueryName) { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache((ReadQuery)session.getQuery(sessionQueryName)); }
/** * Clear all the query results caches. */ public void clearQueryCache() { getEntityManagerFactory().verifyOpen(); getAccessor().clearQueryCache(); }
/** * ADVANCED: * Clear the query cache associated with the named query on the session */ @Override public void clearQueryCache(String sessionQueryName) { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache((ReadQuery)session.getQuery(sessionQueryName)); }
/** * Clear the named query results cache associated with the query name. */ public void clearQueryCache(String queryName) { getEntityManagerFactory().verifyOpen(); getAccessor().clearQueryCache(queryName); }
/** * ADVANCED: * Clear all the query caches */ public void clearQueryCache() { ((UnitOfWorkImpl)getSession()).getParent().getIdentityMapAccessor().clearQueryCache(); }
/** * ADVANCED: * Clear the query cache associated with the named query on the session */ public void clearQueryCache(String sessionQueryName) { ((UnitOfWorkImpl)getSession()).getParent().getIdentityMapAccessor().clearQueryCache((ReadQuery)session.getQuery(sessionQueryName)); }
/** * ADVANCED: * Clear the query cache associated with the named query on the descriptor for the given class */ @Override public void clearQueryCache(String descriptorQueryName, Class queryClass) { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache((ReadQuery)session.getDescriptor(queryClass).getQueryManager().getQuery(descriptorQueryName)); }
/** * ADVANCED: * Clear the query cache associated with the named query on the descriptor for the given class */ @Override public void clearQueryCache(String descriptorQueryName, Class queryClass) { ((UnitOfWorkImpl)this.session).getParent().getIdentityMapAccessor().clearQueryCache((ReadQuery)session.getDescriptor(queryClass).getQueryManager().getQuery(descriptorQueryName)); }
/** * ADVANCED: * Clear the query cache associated with the named query on the descriptor for the given class */ public void clearQueryCache(String descriptorQueryName, Class queryClass) { ((UnitOfWorkImpl)getSession()).getParent().getIdentityMapAccessor().clearQueryCache((ReadQuery)session.getDescriptor(queryClass).getQueryManager().getQuery(descriptorQueryName)); }