Protected method createRelationshipInRepositoryForEntity()