Yes you are right. See
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/co...
for example.
I hadn't come across it as I always override the equals methods of entities to compare
on id equality (if the object is set, otherwise fallback on object equality).
A drawback the EntityConverter for which I can see no work around (you get the Entities
from two different EntityManager instances [1]). So, you could either add an equals method
(as on the example ClientType) or you could look at the alternive index or String
strategies. Or wait for someone to come up with a @SelectItemsSelection annotation.
[1] I couldn't get them from the SeamManaged Persistence Context as it caused entities
to become detached when using Container Managed Transactions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959519#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...