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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995626
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to