[jboss-user] [JBoss Seam] - Re: <si:selectItems> Value is not a valid option.

petemuir do-not-reply at jboss.com
Fri Nov 24 11:08:30 EST 2006


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



More information about the jboss-user mailing list