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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to