Jira issue originally created by user sharn.white:
$doctrineCollection = Doctrine_Query::create()
->innerJoin('a.Table2 b ON a.id = b.id')
$doctrineCollection->toArray() will return only the contents of Table1. However, $doctrineCollection->getFirst()->toArray() will return the results of Table1 + an additional key named 'Table2' which returns the join result from Table2.
It does not make sense for the collection hydration to differ to that of the objects in the collection.
Comment created by sharn.white:
If this is intended you can go ahead and trash this issue. Just doesn't seem right to me.
Nevermind. I should have been setting $deep to true.
Issue was closed with resolution "Fixed"