org.hibernate.cache
Class QueryKey
java.lang.Object
org.hibernate.cache.QueryKey
- All Implemented Interfaces:
- java.io.Serializable
public class QueryKey
- extends java.lang.Object
- implements java.io.Serializable
A key that identifies a particular query with bound parameter values
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
QueryKey
public QueryKey(java.lang.String queryString,
QueryParameters queryParameters,
java.util.Set filters,
EntityMode entityMode)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008 Hibernate.org. All Rights Reserved.