Sorry i  got confused.
So there is no need to persist at all and just flush outside foreach when
foreach is finished? I tought before every flush i need to use persist, so
please clarify what is the purpose of persist if i don't need to use it in
this case at all?

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