Hi !
I am trying the database functionalities in PR7.
I am experiencing a strange ORM behavior.
Here is my code :
[code]
$qb = $this->get('doctrine.orm.entity_manager')->createQueryBuilder();
$aGalleries = $qb->select('g')->from('SWMainBundle:Gallery', 'g')-
>where($qb->expr()->eq('g.active', 1))->getQuery()->execute();
[/code]
It gave me 5 results (which is good), but all the results where
identical (identical to the first result).
If I use the DBAL instead, I get my proper 5 results.
Why is that ?
Thank you,
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en