After the user updates the object and returns it to the server-side, have you tried using entityManager.merge()?
If the object is detached, sent to the front-end and you try to commit it, you will get an exception. You must re-attach the entity with the persistence context using merge().
Hope that helps,
Andrew
[Message sent by forum member 'asmithgf' (asmithgf)]
http://forums.java.net/jive/thread.jspa?messageID=219023