Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107134#4107134
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107134
___
jboss-user mailing list
jboss-user@lists
This can be done with a hibernate query, you can even add some ordering:
| DetachedCriteria taskCrit = DetachedCriteria.forClass(TaskInstance.class)
| .add(Restrictions.eq("actorId", actorId)
| .addOrder(Order.desc("start");
|
| List taskList =
taskCrit.getExecutableCriteria(jbpmCont