can't use object equality with hibernate proxies