The OptimisticLockException indicates that the second client has a stale 
version of the entity, i.e. it won't be updating the latest version.

As far as I know, using the EntityManager.lock method will force the version to 
be incremented, whether or not you actually changed the entity.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052858#4052858

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

Reply via email to