Forgetting about db and sql. I am trying to think in ORM. To add a new record to X, I just need Product. I get "product_id cannot be null" error, because X is ManyToOne to Info with the same ProductId property that is used to find/call Product too. If I comment out Info mapping in X entity it will work fine without error but I need to have that ManyToOne to Info in my X entity. So what should I do?
-- 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.
