title: Doctrine 1.2 - Unknown record property / related component in a DQL with only 1 table envolved
body: <p>I'm trying to execute this DQL:</p>
  
  <pre><code>$q = Doctrine_Query::create()
  -&gt;select('*');
  -&gt;from('Clientes c');
  $retorno = $q-&gt;execute();
  </code></pre>
  
  <p>My BaseClientes.php:</p>
  
  <pre><code>// Connection Component Binding
  Doctrine_Manager::getInstance()-&gt;bindComponent('Clientes', 'padrao');
  
  /**
   * BaseClientes
   * 
   * This class has been auto-generated by the Doctrine ORM Framework
   * 
   * @property integer $pk_clientes
   * @property string $txt_nome
   * @property timestamp $ts_cadastro
   * @property string $txt_diretorio
   * @property Doctrine_Collection $Upload
   * 
   * @package    ##PACKAGE##
   * @subpackage ##SUBPACKAGE##
   * @author     ##NAME## &lt;##EMAIL##&gt;
   * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
   */
  abstract class BaseClientes extends Doctrine_Record
  {
      public function setTableDefinition()
      {
          $this-&gt;setTableName('clientes');
          $this-&gt;hasColumn('pk_clientes', 'integer', 4, array(
               'type' =&gt; 'integer',
               'length' =&gt; 4,
               'fixed' =&gt; false,
               'unsigned' =&gt; false,
               'primary' =&gt; true,
               'autoincrement' =&gt; true,
               ));
          $this-&gt;hasColumn('txt_nome', 'string', 255, array(
               'type' =&gt; 'string',
               'length' =&gt; 255,
               'fixed' =&gt; false,
               'unsigned' =&gt; false,
               'primary' =&gt; false,
               'notnull' =&gt; true,
               'autoincrement' =&gt; false,
               ));
          $this-&gt;hasColumn('ts_cadastro', 'timestamp', null, array(
               'type' =&gt; 'timestamp',
               'fixed' =&gt; false,
               'unsigned' =&gt; false,
               'primary' =&gt; false,
               'notnull' =&gt; true,
               'autoincrement' =&gt; false,
               ));
          $this-&gt;hasColumn('txt_diretorio', 'string', 255, array(
               'type' =&gt; 'string',
               'length' =&gt; 255,
               'fixed' =&gt; false,
               'unsigned' =&gt; false,
               'primary' =&gt; false,
               'notnull' =&gt; true,
               'autoincrement' =&gt; false,
               ));
      }
  
      public function setUp()
      {
          parent::setUp();
          $this-&gt;hasMany('Upload', array(
               'local' =&gt; 'pk_clientes',
               'foreign' =&gt; 'fk_clientes'));
      }
  }
  </code></pre>
  
  <p>My table SQL:</p>
  
  <pre><code>CREATE TABLE  `organizer`.`clientes` (
    `pk_clientes` int(11) NOT NULL AUTO_INCREMENT,
    `txt_nome` varchar(255) NOT NULL,
    `ts_cadastro` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `txt_diretorio` varchar(255) NOT NULL,
    PRIMARY KEY (`pk_clientes`)
  ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC
  </code></pre>
  
  <p>When I execute this DQL, it returns to me:</p>
  
  <pre><code>Fatal error: Uncaught exception 'Doctrine_Record_UnknownPropertyException' with message 'Unknown record property / related component "clientes" on "Clientes"' in 
  /var/www/organizer/lib/php/doctrine/lib/Doctrine/Record/Filter/Standard.php:55 Stack trace: #0 /var/www/organizer/lib/php/doctrine/lib/Doctrine/Record.php(1382):
   Doctrine_Record_Filter_Standard-&gt;filterGet(Object(Clientes), 'clientes') #1 /var/www/organizer/lib/php/doctrine/lib/Doctrine/Record.php(1337): Doctrine_Record-&gt;_get
  ('clientes', true) #2 /var/www/organizer/lib/php/doctrine/lib/Doctrine/Access.php(117): Doctrine_Record-&gt;get('clientes') #3 /var/www/organizer/lib/php/forger.php
  (387): Doctrine_Access-&gt;offsetGet('clientes') #4 /var/www/organizer/app/clientes/model.php(20): forger-&gt;Table(Array) #5 /var/www/organizer/app/clientes/controller.php
  (5): require_once('/var/www/organi...') #6 /var/www/organizer/web/index.php(9): require_once('/var/www/organi...') #7 {main} thrown in /var/www/organizer/lib/php/
  doctrine/lib/Doctrine/Record/Filter/Standard.php on line 55
  </code></pre>
  
  <p>I really don't know what is happening, I have this same situation in other file of my system and work.</p>
  
  <p>Please, someone help me....</p>
  
  <p>OBS: Sorry my bad english, I'm Brazilian.</p>