Hi Antenne,

All the times that I've faced the same error message it was because one of 
the following two causes:

1. Creating an entity (in your example, Entities\Product) using one 
instance of EntityManager and creating the association (OnToMany) entities 
(in your example, Entities\Type) using another instance o EntityManager
2. Creating the association entities (in your example, Entities\Type) using 
the "new" operator and not setting the cascade={"persist"} option in the 
OneToMany association

Diogo

-- 
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.

Reply via email to