Try this one:
em.createQuery("from ObjectA o where o in(select b.ObjectA  from ObjectB b 
where b in(:param))").setParameter("param", param).getResultList();


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231207
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to