Package org.hibernate.cache.spi
Class QueryKey
java.lang.Object
org.hibernate.cache.spi.QueryKey
- All Implemented Interfaces:
Serializable
A key that identifies a particular query with bound parameter values.
This object is used as a key into the query results cache.
Note that the fields of this object must contain every explicit and
implicit setting and parameter argument that affects the result list
of the query, including things like the limit and
offset and enabled filters.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacetodo (6.0) : integrate work from original 6.0 branch -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic QueryKeyfrom(String sqlQueryString, Limit limit, QueryParameterBindings parameterBindings, SharedSessionContractImplementor session) inthashCode()