return refetchObjectFromDBinEditingContext(editingContext());
}
public ERXEnterpriseObject refetchObjectFromDBinEditingContext(EOEditingContext ec) {
EOEntity entity = ERXEOAccessUtilities.entityNamed(ec, entityName());
EOQualifier qual = entity.qualifierForPrimaryKey(primaryKeyDictionary(false));
EOFetchSpecification fetchSpec = new EOFetchSpecification(entityName(), qual, null);
fetchSpec.setRefreshesRefetchedObjects(true);
NSArray results = ec.objectsWithFetchSpecification(fetchSpec);
ERXEnterpriseObject freshObject = null;
if (results.count() > 0) {