Re: [symfony-users] Doctrine.ORM Proxy

2010-08-11 Thread Tim Nagel
Sounds like you havent generated your Proxy objects based on the Entities. t On Thu, Aug 12, 2010 at 08:55, Michael wrote: > Been trying to create a simple findAll() request: > > $users = $this->getEntityManager() > ->createQuery('Bundle\HelloBundle\Entity\User') >

[symfony-users] Doctrine.ORM Proxy

2010-08-11 Thread Michael
Been trying to create a simple findAll() request: $users = $this->getEntityManager() ->createQuery('Bundle\HelloBundle\Entity\User') ->findAll(); but keep getting the following error: Fatal error: Class 'Proxies\BundleHelloBundleEntityProfileProxy' n

[symfony-users] Doctrine.ORM Proxy

2010-08-11 Thread Michael
Trying to run this script: $products = $this->getEntityManager() ->getRepository('Bundle\HelloBundle\Entity \Product') ->findAll(); But keep getting this error: Fatal error: Class 'Proxies\BundleHelloBundleEntityCategoryProxy' not fou