The EntityConverter reloads the Entity from the persistence context when 
submitting using a different instance of your EntityManager.  As a result the 
objects aren't the same.

To get round this you have to use 'id equality' - override the equals method on 
the Entity to return true if the ids are equal.

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

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

Reply via email to