title: load one record with doctrine
body: <p>What is the preferred way to load one record with doctrine?</p>
  
  <p>I am using</p>
  
  <pre><code>$em = EntityManager::create($connectionOptions, $config);
  $dql = "select r from Rolle r";
  $list = $em-&gt;createQuery($dql)-&gt;getResult();
  </code></pre>
  
  <p>to get a list of records.</p>
  
  <p>I tried using</p>
  
  <pre><code>$dql = Doctrine_Query::create()
      -&gt;from('Rolle r') 
      -&gt;where('r.ID = 14');
  $rolle = $dql-&gt;fetchArray();
  </code></pre>
  
  <p>to get one record. Is this the preferred way?</p>
  
  <p>If yes: I get the internal server error: Class 'Doctrine_Query' not found in ... on line ...</p>
  
  <p>I searched for a file which contains the string 'Doctrine_Query', but I haven't such a file. So where do I find this class?</p>