title: The table with name already exist
body: <p>I'm trying to solve this issue</p>
  
  <p>when doing</p>
  
  <pre><code>php bin/console doctrine:schema:update --dump-sql
  </code></pre>
  
  <p>I am getting</p>
  
  <pre><code>In SchemaException.php line 108:
  The table with name 'chris_test_sonata.page__block' already exists.
  </code></pre>
  
  <p>Obviously, the table isn't existing in my database. To be sure it was not something cache related I even made the operation with a new database I just created, the result is the same.</p>
  
  <p>When I search for page__block occurences in my project I only find this mapping</p>
  
  <pre><code>/**
   * @ORM\Entity
   * @ORM\Table(name="page__block")
   * @ORM\HasLifecycleCallbacks
   */
  class SonataPageBlock extends BaseBlock
  </code></pre>
  
  <p>So there should not be other mapping for this table.</p>
  
  <p>I also have a block.orm.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"&gt;
      &lt;!--
           This file has been generated by the EasyExtends bundle ( https://sonata-project.org/easy-extends )
  
           References :
              xsd                  : https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd
              xml mapping          : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/xml-mapping/en
              association mapping  : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/association-mapping/en
      --&gt;
      &lt;entity
          name="App\Application\Sonata\PageBundle\Entity\Block"
          table="page__block"
          repository-class="Doctrine\ORM\EntityRepository"&gt;
  
          &lt;id name="id" type="integer" column="id"&gt;
              &lt;generator strategy="AUTO"/&gt;
          &lt;/id&gt;
  
      &lt;/entity&gt;
  &lt;/doctrine-mapping&gt;
  </code></pre>
  
  <p>There is some other occurences but all in dev.log</p>
  
  <p>And I also have this in a cache file from symfony dev/pools</p>
  
  <pre><code>&lt;?php
  
  namespace Symfony\Component\VarExporter\Internal;
  
  return $getExpiry ? PHP_INT_MAX : Hydrator::hydrate(
      $o = [
          clone (($p = &amp;Registry::$prototypes)['Doctrine\\ORM\\Mapping\\Entity'] ?? Registry::p('Doctrine\\ORM\\Mapping\\Entity')),
          clone ($p['Doctrine\\ORM\\Mapping\\Table'] ?? Registry::p('Doctrine\\ORM\\Mapping\\Table')),
          clone ($p['Doctrine\\ORM\\Mapping\\HasLifecycleCallbacks'] ?? Registry::p('Doctrine\\ORM\\Mapping\\HasLifecycleCallbacks')),
      ],
      null,
      [
          'stdClass' =&gt; [
              'name' =&gt; [
                  1 =&gt; 'page__block',
              ],
          ],
      ],
      [
          $o[0],
          $o[1],
          $o[2],
      ],
      []
  );
  </code></pre>
  
  <p>I have no idea what is wrong with it and why the mapping is'nt working.</p>