doctrine-orm
Querying data from a child model
I have 3 models that I have setup thus far in a simple application I am working on: So far I have these models:[详细]
2023-04-07 05:52 分类:问答Doctrine2: Mapping a parent class field from a child, how?
I\'m wondering if this can be done using Doctrine annotations: Say you have a parent class (a mapped superclass):[详细]
2023-04-07 03:50 分类:问答Symfony2, Doctrine2 and PostgreSQL: error "Undefined variable: className"
I try to configur开发者_如何学运维e entities for existing table in PostgreSQL database. Sequences in this database have names other than default doctrine names, so i have to account that in entity.[详细]
2023-04-06 23:12 分类:问答How to specify what value is passed using a choice form field in Symfony2
I have the following code which displays all the available main pages that can be used when adding sub pages in my project:[详细]
2023-04-06 20:29 分类:问答How to setup table prefix in symfony2
Like in question to开发者_开发知识库pic, how can I setup default table prefix in symfony2? The best if it can be set by default for all entities, but with option to override for individual ones.Havin[详细]
2023-04-06 17:20 分类:问答Symfony2 Doctrine2 Translatable Strange behavior
I have a question about a stra开发者_StackOverflownge behavior in the Translatable extension. I have two tables, one called pages, and one called pages_translations in which I\'ve the translation of m[详细]
2023-04-06 14:41 分类:问答Symfony2 validation exception with unique constraint
I have an entity \"Movie\" which has a unique constraint through doctrine annotation. Based on the movie entity I have auto generated a CRUD layer. When I now try to add a new movie I get the followin[详细]
2023-04-06 13:07 分类:问答How to write a DQL select statement to search some, but not all the entities in a single table inheritance table
So I have 3 entities within one table.I nee开发者_开发知识库d to be able to search 2 out of the 3 entities in one select statement, but I\'m not sure how to do this.Use the INSTANCE OF operator in you[详细]
2023-04-06 07:05 分类:问答Doctrine 2 proxy classes breaking Symfony2 ACL
When attempting to run findAcl() on an entity with an existing entry in the acl_classes table generated by init:acl I get an AclNotFoundException.[详细]
2023-04-06 03:38 分类:问答Semi-complicated doctrine query
I have a query to write that\'s a bit too complicated for me to figure out. Help would be appreciated.[详细]
2023-04-06 00:00 分类:问答