doctrine-orm
doctrine2 - use custom query getter
I\'m using Symfony2 and Doctrine2. How would I go about using a different query for a get method? (poorly worded, let me explain)[详细]
2023-04-04 06:26 分类:问答Doctrine 2 and "unknown column in "ON clause"
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.[详细]
2023-04-04 06:16 分类:问答How to change entity class names Doctrine generated
I\'m using Doctrine 2 and use these functions to generate entities from existing DB: $cmf = new DisconnectedClassMetadataFactory();[详细]
2023-04-04 05:39 分类:问答Creating/updating schema from Doctrine entities
I\'m using Doctrine with Zend Framework. I have to create both the DB schema and the Doctrine entities with annotations.[详细]
2023-04-04 02:59 分类:问答How to populate zend_form from Doctrine2 entity?
Right now I\'m populating/setDefaults a zend_form like this from the controller: $data = array(\'user\' => $account->getUser(),[详细]
2023-04-04 01:17 分类:问答Doctrine 2: Proxy name collisions
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.[详细]
2023-04-04 00:51 分类:问答is not a valid entity or mapped class Error
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[详细]
2023-04-04 00:04 分类:问答Join table is not updated in ManyToMany association in doctrine 2
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[详细]
2023-04-03 21:38 分类:问答Immutable collections in Doctrine 2?
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:[详细]
2023-04-03 20:14 分类:问答How to create a unique constraints in YML in Doctrine2?
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?[详细]
2023-04-03 17:42 分类:问答