Please read my previous reply first. By eager load do you mean I should run DQL instead of find()? If yes, then how can I have the result as object since doctrine require to have Product entity as object that I can add a new record to X, as I cannot simply use: $this->productId = $blah; Should I use that object hydrator? So if I understood you correcly to solve this error I should use DQL joining Product-Info entities with that particular hydrator that returns the result as object? Is it the only way to solve the error however I don't need Info while adding a new row to db, the problem is that the same entity is used as ManyToOne to other two entities.
-- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
