hi i think, you have done something wrong in overriding the save function.
firstly execute a raw query at the database client like mysql whatever your database is. your query will look like select * from comment where post_id = ?; if it returns something then you have done something wrong in save method. On Wed, Sep 30, 2009 at 4:52 PM, Ashok <[email protected]> wrote: > > Hi, > I've two tables Post and Comment (1:N relationship). What I'm trying > to get all the comments related to the post I'm saving from within > Post class (/lib/model/doctrine/Post.class.php. and Yes I'm overriding > save() function). I don't get any results by calling $this->getComments > (); > > Am I doing something wrong? Is it just doesn't work this way > (reason???) > > Thanks > > > > -- Regards, Dheeraj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
