doctrine-orm
Doctrine 2 - 2 decimal places on a float?
Annotation: /** * @ORM\\Column(type=\"float\", scale=\"2\") */ protected $curr_price; I\'m using it with Symfony 2.[详细]
2023-04-02 10:45 分类:问答Docblocks for Doctrine collections
Is there a standard way to document the expected class of entities inside a Collection in the docblock comment in a Doctrine project? Something like:[详细]
2023-04-02 10:44 分类:问答Passing Entity Manager to Service Layer ZF Doctrine2
I\'m trying to pass the entity man开发者_运维知识库ager to a service but havent find a correct way yet. I want to complete remove the em from the controller so thats why I\'m finding another way.[详细]
2023-04-02 08:20 分类:问答Doctrine2 - (how to) fetch associated objects with main
Assume that i have an association mapping in Doctrine2. How to define that i need to fetch all associated objects while querying the main one?[详细]
2023-04-02 05:36 分类:问答Manage ACL with Zend Framework and Doctrine 2
Does anyone know how to deal with ACL and Doctrin开发者_运维技巧e 2 inside a Zend Framework 1.11.10 Project ?[详细]
2023-04-02 01:57 分类:问答Getting odd behavior from $query->setMaxResults()
When I call setMaxResults on a query, it seems to want to treat the max number as \"2\", no matter what it\'s actual value is.[详细]
2023-04-01 22:30 分类:问答How can I limit an associated entity result in Doctrine2?
I have the following query: $query = $this->getEntityManager()->createQuery(\' SELECT u, p, m FROM MyCoreBundle:User u[详细]
2023-04-01 22:21 分类:问答Symfony2: version 2.0.1 and DoctrineMigrationsBundle
All! What is going on ? Today I trying to reinstall new version of Symfony2 (2.0.1) from GitHub $ app/vendors install --reinstall[详细]
2023-04-01 18:29 分类:问答Implementing user activity in symfony 2
What\'s the best way to implement user activity in symfony 2 ? And how to do it ? I know there is the event system of symfony 2. Maybe I should trigger an event ?[详细]
2023-04-01 15:08 分类:问答Doctrine 2.0 findBy* - not working when column contains underscores
I have the following class where one of the columns in the table contains an underscore - uni_id When I try to the query:[详细]
2023-04-01 13:37 分类:问答
加载中,请稍侯......