[jboss-user] [JBoss Seam] - Re: @SelectItems / EntityConverter Bug

petemuir do-not-reply at jboss.com
Fri Nov 10 10:49:33 EST 2006

Having looked at this I've come to the conclusion that trying to support non-primitive, non-primitive-wrapped or non-String Ids in a generic fashion isn't sensible.

So in the new design of SeamSelectItems http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamSelectItemsNewDesign I've made the Entity Converter really easy (I think) to extend to support complex id's - essentially you provide a conversion strategy from complex id object to string and back.

AFAIK @EmbeddedID is only used for 'complex' id's so there is no need to check for it...

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984942

More information about the jboss-user mailing list