I\'m using Symfony2 and Doctrine2. How would I go about using a different query for a get method? (poorly worded, let me explain)
I am currently working in a project that is using Doctrine 2 with ZF. So far so good. However I have a problem that looks like a bug.
I\'m using Doctrine 2 and use these functions to generate entities from existing DB: $cmf = new DisconnectedClassMetadataFactory();
I\'m using Doctrine with Zend Framework. I have to create both the DB schema and the Doctrine entities with annotations.
Right now I\'m populating/setDefaults a zend_form like this from the controller: $data = array(\'user\' => $account->getUser(),
I\'m learning Doctrine 2, and noticed that the name of a generated proxy class is the original class\' full name, without the 开发者_开发技巧namespace separator, with Proxy appended to it.
I\'m using Doctrine with Codeigniter. So i write a library class for using them together. But i cant access entities (after creating them from db with reverse-engineering). Doctrine gives error: Fatal
I have tow entities Slaplans and Slaholidays and a join table slaplans_slaholidays. After creating two Slaholidays objects, I persist them both, add them to the Slaplansand flush. The problem is that
I\'m looking for a way to return an immutable collection from a domain object in Doctrine 2. Let\'s start with this example from the doc:
I Want to create a unique constraints on two attributs. The YML configuration with Doctrine2 isn\'t well documented. So I try to traduct the XML in YML. Wh开发者_JAVA技巧at\'s wrong with this code?