diff --git a/lib/Doctrine/ORM/EntityRepository.php b/lib/Doctrine/ORM/EntityRepository.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/EntityRepository.php
+++ b/lib/Doctrine/ORM/EntityRepository.php
@@ -63,7 +63,7 @@ class EntityRepository
     {
         return $this->_em->createQueryBuilder()
             ->select($alias)
-            ->from($this->_entityName);
+            ->from($this->_entityName, $alias);
     }
     
     /**
[<I>][DDC-<I>] Fixed issue with EntityRepository that was not considering alias of root Entity when instantiating a new QueryBuilder