title: How to create entity of one table in zend 2 Doctrine 2
body: <p>Suppose I have 5 table in my database and I did some changes in one of the table or added one more table after creating entity.</p>
  
  <p>In Symfony 2, this can be done with </p>
  
  <blockquote>
    <p>php app/console doctrine:mapping:import --force AdminKbasicBundle yml --em=mykitchenoptions --filter=underlyingassign</p>
  </blockquote>
  
  <p>In Zend2, Code below creates entity of whole DB but I want to create entity of just one table.  </p>
  
  <blockquote>
    <p>php doctrine-module orm:convert-mapping --namespace="Album\Entity\" --force  --from-database annotation ./module/Album/src/</p>
  </blockquote>
  
  <p>How to use filter parameter in Zend 2 Doctrine 2?</p>
  
  <p>This is what I tried following <a href="https://stackoverflow.com/questions/21092309/zf2-generating-entity-with-doctrine-orm">this</a> link     </p>
  
  <blockquote>
    <p>php doctrine-module orm:convert-mapping --filter='Testtable' --namespace='Album\Entity\' --force --from-database annotation ./module/Album/src/</p>
  </blockquote>
  
  <p>It gives error <code>"No Metadata Classes to process."</code></p>
  
  <p>Any suggestion will be helpful.</p>