The latter probably will work. But you will have to use id equality on all the entities involved in selectitems View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005942#4005942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005942