title: Doctrine2 one-to-one relation auto loads on query
body: <p>I have a query that looks like this:</p>
  
  <p>My user entity has a one-to-one relation that looks like this:</p>
  
  <pre><code>/**
   * @var UserProfile
   *
   * @ORM\OneToOne(targetEntity="UserProfile",mappedBy="user")
   */
  private $userProfile;
  </code></pre>
  
  <p>Anytime I make a query to select multiple user objects, it creates an additional select statement per user to query for the UserProfile data even though I am not accessing it through a get method. I don't always need the UserProfile data, and I certainly don't want to load this data every single time I'm displaying a list of users.</p>
  
  <p>Any idea why these queries are executed at run time?</p>