Top Description Methods
org.hibernate.cache

public Interface QueryCache

Known Direct Implementers
org.hibernate.cache.StandardQueryCache
Imports
java.util.List, .Set, org.hibernate.HibernateException, org.hibernate.engine.SessionImplementor, org.hibernate.type.Type

Defines the contract for caches capable of storing query results. These caches should only concern themselves with storing the matching result ids. The transactional semantics are necessarily less strict than the semantics of an item cache.
Author
Gavin King

Method Summary

Modifier and TypeMethod and Description
public void
public void
public List<E>
get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set<E> spaces, SessionImplementor session)

public QueryResultsRegion
public boolean
put(QueryKey key, Type[] returnTypes, List<E> result, boolean isNaturalKeyLookup, SessionImplementor session)

Method Detail

clearback to summary
public void clear() throws CacheException
destroyback to summary
public void destroy()
getback to summary
public List<E> get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set<E> spaces, SessionImplementor session) throws HibernateException
getRegionback to summary
public QueryResultsRegion getRegion()
putback to summary
public boolean put(QueryKey key, Type[] returnTypes, List<E> result, boolean isNaturalKeyLookup, SessionImplementor session) throws HibernateException