No, you can* totally leave persitst( ) away here*. You only have to use it 
if you would first assign it to a new entity $s, like you are doing, but 
you shouldn't. Just update the fields of your retrieved entities and flush( 
). 

On Sunday, 9 March 2014 20:02:21 UTC+1, Parsifal wrote:
>
> Thanks for all advices and kind helps. Ok, i will place persist outside 
> foreach.
>  

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