// We first need to find the attribute in the related entity representing the main entity in this action
List<Field> fields = ModelUtilities.getAllPersistentEntityFields(relatedEntity.getClass());
for (Field f : fields) {
PersistentAttribute a = f.getAnnotation(PersistentAttribute.class);
if (a != null && columnName.equalsIgnoreCase(a.columnName())) {
f.setAccessible(true);
if (f.getClass().getAnnotation(PersistentEntity.class) != null) {
List<Field> pkFields = ModelUtilities.getEntityIdentifierFields(f.getClass());
if (pkFields.size() == 1) {