org.hibernate.cache
Class QueryKey

java.lang.Object
  extended by org.hibernate.cache.QueryKey
All Implemented Interfaces:
Serializable

public class QueryKey
extends Object
implements Serializable

A key that identifies a particular query with bound parameter values

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
QueryKey(String queryString, QueryParameters queryParameters, Set filters, EntityMode entityMode)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryKey

public QueryKey(String queryString,
                QueryParameters queryParameters,
                Set filters,
                EntityMode entityMode)
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object