Optymistic exception seems correct because you invoke second merge on old instance and in
database is newest.
I think you should invoke
aMember = getEntityManager().merge(aMember);
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220429#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...