JpaPropertyDescriptor property = srcDescriptor.getProperty(name);
Class<?> targetEntityType = property.getTargetEntityType();
if (targetEntityType == null) {
context.recordConflict(new SimpleValidationFailure(property
.getMember(), "Undefined target entity type: " + name));
return false;
}
else {
relationship.setTargetEntityName(targetEntityType.getName());