Thanks DragosPD for the pointer.
I will try with MyFaces implementation sometime next week. Any other alternatives? Known solution or workaround? This is quite a common usage I believe, and surely there have been others finding this issue. I would like to hear what you guys do to resolve this.
Thanks, appreciate your helps.
i ran into the same issue. feels like a SERIOUS bug to me. at worst it should get in the seam documentation, but a fix is preferred.
curious on your experiences or alternative solutions !
Override equals on the entity.
i had already overriden hashCode en equals. that was/is not the issue as far as I can conclude.
[ an object is equal if it has the same object ID, if no ID is present, values are compared, hashCode accordingly, using apache EqualsBuilder and apache HashCodeBuilder ]
the only wat to fix it was to turn of LAZY loading of the related property.
putting it on EAGER solves it.
adding to it : it probably is NOT a real "seam" issue but a conflict of hibernate lazy loading (using proxy) and the JSF implementation