For my application, I am thinking of using Single Table Inheritance for a table because it allows me to write specific business logic for each of the subclasses.
I\'m using Doctrine 2 to connect to and generate objects from a mysql database that is a shared backend to a filemaker application. As such, i cannot let Doctrine completely automate the table generat
How can i do this? I try to run: app/console doctrine:generate:entities BlogWebBundle But i get class without annotations (\"@orm ...\" in comments)
I have two columns representing a start date and an end date. If I wanted to create a joint index for them, I would do:
Lets say I have a table that holds information about festivals. Each festival has a start and end开发者_开发技巧 date.
I have a few methods on my entity class (calculating time intervals between creation开发者_高级运维 and deadline, etc.) that I\'d like to order by in my DQL. I tried using __get to access the method a
I need to insert an entity which has associations. If I already have the FK\'s of the a开发者_运维问答ssociated entities, is there a way to insert the primary entity into the db with just the FK\'s p
I\'m newbie in doctrine. I\'ve got two tables messages and users. User entity have two joins, fromMessages and toMessages. Message entity have two joins, fromUser and toUser. My annotation is as follo
I am exploring the feasibility of retrofitting an existing database to开发者_开发知识库 using Doctrine.
Hi I would like to call a method at the end of a page generation using Zend Framework. How to do this?