[jboss-user] [jBPM] - create a new query method in TaskService

parvathy j a do-not-reply at jboss.com
Wed Sep 15 06:10:04 EDT 2010

parvathy j a [http://community.jboss.org/people/parvathy] created the discussion

"create a new query method in TaskService"

To view the discussion, visit: http://community.jboss.org/message/561738#561738

hi i want to create a new method to query the database according to a new column 
created by me in JBPM4_TASK table..i added the following query in the jbpm.task.hbm.xml file
  <query name="findTasksByServiceName">
     select task
     from org.jbpm.pvm.internal.task.TaskImpl as task where task.serviceName =:serviceName

Can someone tell me where all i should make changes and what should 
i do to get this query as a new method in TaskService API
ie when i create a object of TaskService i must get a 
method to call this query and exceute it..

Thanks in advance

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100915/d0eb3de9/attachment.html 

More information about the jboss-user mailing list