[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JPQL - Query Parameter
dgeraskov
do-not-reply at jboss.com
Fri May 15 03:10:35 EDT 2009
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
More information about the jboss-user
mailing list