[jboss-user] [JBoss jBPM] - Re: query process instances using filter

kukeltje do-not-reply at jboss.com
Wed Jun 18 15:29:53 EDT 2008

anonymous wrote : I know that I could query the JBPM database directly but is this really the only way? anonymous wrote : 
  |   | 
  |   | This is the way jBPM also does it. Most common functions are put in the api but you can always get the current hibernate session from the jbpmContext and use HQL to do what you want (jBPM does exactely that in the api impl.)
  |   | 
  |   | Besides that, your second  example is not supported out of the box because it is VERY expensive. Either in adding loads of indexes to keep it somewhat performant while querying but making inserts a lot slower or by doing full table scans. 

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

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

More information about the jboss-user mailing list