[jboss-user] [JBoss jBPM] - Re: getting taskList with process variables non lazy

holly77 do-not-reply at jboss.com
Tue Apr 3 04:26:25 EDT 2007


I'm now doing it this way:

select distinct ti from TaskInstance ti 
  | left  join fetch ti.token tk
  | left  join fetch tk.processInstance pi 
  | left  join fetch pi.instances ci
  | left join fetch ci.tokenVariableMaps tvm  
  | left join fetch tvm.variableInstances vi
  | where ti.isOpen=:isOpen
  | and ti.actorId=:actorId;

Anyway it takes about 15 sec for the 1500 TaskInstances to be initialized...

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033915



More information about the jboss-user mailing list