[jboss-user] [JBoss jBPM] - Re: HQL query to select taskinstances

JeanGuyer do-not-reply at jboss.com
Tue Oct 24 05:19:04 EDT 2006


try something like :

Query query = session.createQuery("select taskinstance from TaskInstance  taskinstance join taskinstance.variableInstances as variable where variable.name = :varname and variable.value =:varvalue ");       
      query.setString("varname", varName);
      query.setLong("varvalue",lvarValue);



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

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



More information about the jboss-user mailing list