public IdentityObjectRelationship createRelationship(
      IdentityStoreInvocationContext invocationCxt,
      IdentityObject fromIdentity,
      IdentityObject toIdentity,
      IdentityObjectRelationshipType relationshipType,
      String relationshipName,
      boolean createNames)
      throws IdentityException {
    cacheSupport.invalidateIdentityObjectRelationshipNameSearches(getCacheNS(invocationCxt));
    cacheSupport.invalidateIdentityObjectRelationshipSearches(getCacheNS(invocationCxt));
    cacheSupport.invalidateIdentityObjectSearches(getCacheNS(invocationCxt));

    return identityStore.createRelationship(
        invocationCxt, fromIdentity, toIdentity, relationshipType, relationshipName, createNames);
  }