title: Multiple One-To-One relationships in same entity with YAML in Symfony2
body: <p>I am designing one entity that should have two One To One relationships to two different tables. My main entity (Player) has these definitions:</p>
  
  <pre><code>oneToOne:
      attributesRegular:
          targetEntity: AttributesRegular
  oneToOne:
      attributesNormalized:
          targetEntity: AttributesNormalized
  </code></pre>
  
  <p>Now in the AttributesRegular I have this: (similar to AttributesNormalized)</p>
  
  <pre><code>    oneToOne:
      player:
          targetEntity: Player
          inversedBy: attributesRegular
          joinColumn:
              name: player_id
              referenceColumnName: id
  </code></pre>
  
  <p>The problem is that when I generate the classes (and the DB schemas), only attributesNormalized is added, but not attributesRegular as well.</p>
  
  <p>Can someone point to me what is wrong with my YML ?</p>
  
  <p>Thanks!</p>