If you actually want to update the existing entity instead of crearing a new one, you don't need to call setId method. Just use "find" to get the existing entity, clone it and persist/flush it.
-- 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.
