title: Symfony2: Entity created but, give class does not exist
body: <p>i had created an Entity class db_logs</p>
  
  <pre><code>namespace Acme\SuperBundle\Entity;
  use Doctrine\ORM\Mapping as ORM;
  class db_logs
  
  {
  /**
   * @ORM\Column(type="integer", length=11,  columnDefinition="INT(11) NOT NULL AUTO_INCREMENT")
   * @ORM\Id
   * @ORM\GeneratedValue(strategy="AUTO")
   */
  protected $id;
  
  /**
   * @ORM\Column(type="datetime", columnDefinition="TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
   */
  protected $date;
  
  /**
   * @ORM\Column(type="text", columnDefinition="TEXT  NOT NULL")
   */
  protected $log;
  }
  </code></pre>
  
  <p>The Doctrine entiry create all database tables perfectly</p>
  
  <pre><code>php app/console doctrine:generate:entities Acme\SuperBundle\Entity
  </code></pre>
  
  <p>now i try to use in DefaultController with this code:</p>
  
  <pre><code>namespace Acme\SuperBundle\Controller;
  use Symfony\Bundle\FrameworkBundle\Controller\Controller;
  class DefaultController extends Controller
  {
      public function indexAction()
      {
          /*
           * Test connect db
           */
          $mysql_fetcher = $this-&gt;getDoctrine()
                      -&gt;getRepository('AcmeSuperBundle:db_logs')    
                      -&gt;findAll();
          $output=array("latest"=&gt;$mysql_fetcher);   
          return $this-&gt;render('AcmeSuperBundle:Default:index.html.twig', $output);
      }  
  }
  </code></pre>
  
  <p>But when i go to web/app_dev.php</p>
  
  <p>i receive this message error. what's going wrong?</p>
  
  <pre><code>Class 'Acme\SuperBundle\Entity\db_logs' does not exist
  500 Internal Server Error - MappingException 
  </code></pre>
  
  <p>I'm sure that entity file exist. Why Symfony2 doesnt found the entity file?</p>