Revert "HHH-12746 : CacheKeyImplementation objects with different entityOrRoleName and same id/tenantId have the same hashCode"

This reverts commit 220f41dc3b.
This commit is contained in:
Gail Badner 2018-07-04 15:52:11 -07:00
parent 8081aaec93
commit b4762fd52c
1 changed files with 0 additions and 1 deletions

View File

@ -55,7 +55,6 @@ final class CacheKeyImplementation implements Serializable {
private int calculateHashCode(Type type, SessionFactoryImplementor factory) {
int result = type.getHashCode( id, factory );
result = 31 * result + entityOrRoleName.hashCode();
result = 31 * result + (tenantId != null ? tenantId.hashCode() : 0);
return result;
}