I really doubt you want em.persist(user), probably em.merge(user) - persist will add a
transient entity to the database not update a persistent one.
Can you post your persistence.xml?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995626#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...