title: Doctrine Entity with two fields with fetch Eager
body: <p>I have been struggling with this problem for a couple of days and I can't find any reason for it. I have a User Entity</p>
  <pre><code> /**
   * @var string
   *
   * @ORM\Column(name=&quot;uuid&quot;, type=&quot;string&quot;, length=255, nullable=false)
   */
  private $uuid;
  
  /**
   * @var string
   *
   * @ORM\Column(name=&quot;name&quot;, type=&quot;string&quot;, length=255, nullable=false)
   */
  private $name; 
  
  /**
   * One User has Many Groups.
   *
   * @ORM\OneToMany(targetEntity=&quot;UserGroup&quot;, mappedBy=&quot;user&quot;, cascade={&quot;persist&quot;}, fetch=&quot;EAGER&quot;)
   */
  protected $groups;
  
  /**
   * One User has Many Comments.
   *
   * @ORM\OneToMany(targetEntity=&quot;Comment&quot;, mappedBy=&quot;user_id&quot;, fetch=&quot;EAGER&quot;)
   */
  protected $comments;
  </code></pre>
  <p>User has two referenced entities: Groups (through a Pivot Entity UserGroup) and Comments</p>
  <p>The problem is that when I perform the query, only one of the referenced entities content is obtained. In the above class it will only get &quot;groups&quot;. If I remove Fetch Eager from $groups, it will gather &quot;comments&quot;. If I put $comments property above &quot;groups&quot; it will recover only &quot;comments&quot; for this user, not groups.</p>
  <p>If I try with Fetch Lazy and then I initialize() the property (&quot;subentity&quot; group or comment) and I do getSnapshot() happens the same.</p>
  <p>Any idea why this can happen?</p>
  <p>Many thanks!</p>