Index: entitycache.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/entitycache/entitycache.module,v
retrieving revision 1.41
diff -u -p -r1.41 entitycache.module
--- entitycache.module	26 Jan 2011 04:38:39 -0000	1.41
+++ entitycache.module	4 Feb 2011 01:09:59 -0000
@@ -22,7 +22,18 @@ function entitycache_entity_info_alter(&
  */
 class EntityCacheBaseController extends DrupalDefaultEntityController {
 
-    public function load($ids = array(), $conditions = array()) {
+  public function resetCache($ids = NULL) {
+    parent::resetCache($ids);
+    // Also reset the persistent cache.
+    if (isset($ids)) {
+      foreach ($ids as $id) {
+        // Also reset the persistent cache.
+        cache_clear_all($id, $this->entityType);
+      }
+    }
+  }
+
+  public function load($ids = array(), $conditions = array()) {
     $entities = array();
     $cached_entities = array();
     $queried_entities = array();
