diff --git a/lib/Doctrine/ORM/Cache/Persister/AbstractCollectionPersister.php b/lib/Doctrine/ORM/Cache/Persister/AbstractCollectionPersister.php index 6ea5af1cc..12c234398 100644 --- a/lib/Doctrine/ORM/Cache/Persister/AbstractCollectionPersister.php +++ b/lib/Doctrine/ORM/Cache/Persister/AbstractCollectionPersister.php @@ -279,6 +279,6 @@ abstract class AbstractCollectionPersister implements CachedCollectionPersister */ public function loadCriteria(PersistentCollection $collection, Criteria $criteria) { - throw new \BadMethodCallException("Filtering a collection by Criteria is not supported by this CollectionPersister."); + return $this->persister->loadCriteria($collection, $criteria); } }