[jboss-user] [JBoss Seam] - Re: fetchtype.LAZY results in JSF validation error
mustaghattack
do-not-reply at jboss.com
Mon Jun 4 06:24:49 EDT 2007
anonymous wrote :
| 3) '"xxx": Value is not a valid option' validation error occurs because the newly submitted converted selection is not a member of the original list. Have you overridden equals() on the OrgUnit so that it uses Id equality rather than object equality (you create a new OrgUnit from the database when you em.find()).
|
Using Id equality is not recommended AFAIK (http://www.hibernate.org/109.html)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050880#4050880
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050880
More information about the jboss-user
mailing list