_log.warn("Attempting to refresh a non-existent (or not accessible) EO: " + entityName);
return;
}
//if entity caches objects, clear out the cache
if( entity.cachesObjects() ) {
EODatabaseContext databaseContext = EOUtilities.databaseContextForModelNamed(sharedEC, entity.model().name());
EODatabase database = databaseContext.database();
database.invalidateResultCacheForEntityNamed(entityName);
}