title: How to delete Doctrine Cache with cache id prefix in symfony 2.5?
body: <p>I am working on symfony 2.5 project with doctirne 2.4 as orm. I am using redis cache for caching query result. </p>
  
  <p>I am able to delete individual query cache by query cache id in repository class with the help of following command:</p>
  
  <pre><code>$config = $this-&gt;getEntityManager()-&gt;getConfiguration();
  $queryCacheDriver = $config-&gt;getQueryCacheImpl();
  $queryCacheDriver-&gt;delete(CACHE_PREFIX.$queryCacheId);
  </code></pre>
  
  <p>Now I want to delete group of query cache with some predined prefix. For example I want to delete all cached query related to some product with id xxx, so in this case cache prefix would be "product-xxx". </p>
  
  <p>Is there any way to achive it?</p>