return new CompoundKey(getObjectType(obj), getKey(obj));
return getSessionKey(getObjectType(obj), getProperties(obj));
    Object getSessionKey(Object obj) {        return new CompoundKey(getObjectType(obj), getKey(obj));    }