first of all figure out what query are you trying to generate in the DB...
then.. translate it to HQL.. so the question is... can you do it in one query in your DB?
If you use in ( :actorIds ) why you don't use in ( :processInstances )??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144229#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...