Returns a key that becomes part of the key for caching the
result of the SQL query. So SqlConstraint instances that
produce the same SQL resultset must return equal keys
in terms of equal() and hashCode().
Returns:
valid key or null to prevent the result from being cached