title: OneToMany Relation with reference on a third table?
body: <p>I got two entities with a simple OneToMany relation and anything works as expected.</p>
  
  <p>The user entity:</p>
  
  <pre><code>class User {
      /**
       * @ORM\OneToMany(targetEntity="Vita", mappedBy="owner")
       */
  }
  </code></pre>
  
  <p>and the vita entity:</p>
  
  <pre><code>class Vita {
      /**
       * @ORM\ManyToOne(targetEntity="User", inversedBy="vitas")
       */
  }
  </code></pre>
  
  <p>So far, so good. But now I changed the vita entity and added the meta entity with a OneToOne relation. This entity knows the owner and other stuff, but the vita does not have longer a owner property.</p>
  
  <p>What I am looking for is the oppotunity to use the third table as reference. Is there a common doctrine way? Something like that?</p>
  
  <pre><code>class User {
      /**
       * @ORM\OneToMany(targetEntity="Vita", mappedBy="meta.owner")
       */
  }
  </code></pre>
  
  <p>EDIT:</p>
  
  <pre><code>User
  - id
  - username
  - password
  
  Vita
  - id
  - meta_id
  - [other fields]
  
  Meta
  - id
  - owner_id (User)
  - modifier_id (User)
  - [other fields]
  </code></pre>
  
  <ul>
  <li>One User has many Vita</li>
  <li>One Vita has one Meta</li>
  </ul>
  
  <p>First the owner_id was a property of vita and now it moved into meta.</p>