[jboss-user] [jBPM Users] - Re: HistoryTaskQuery.startedBefore() and startedAfter() dont

tcr do-not-reply at jboss.com
Tue Sep 22 16:18:03 EDT 2009


Hi, 
I had the same problem. I checked the hibernate config for HistoryTask (jbpm.history.hbm.xml) and could not find an attribute called startTime. Additionally  I could find  a member of that name in the HistoryTask class. But I found a member and a mapping for CreateTime!

After I changed the hql() method in HistoryTaskQueryImpl it worked:


  | if (startedBefore!=null) {
  |       appendWhereClause(" ht.createTime < :startedBefore ", hql);
  |     }
  |     
  |     if (startedAfter!=null) {
  |       appendWhereClause(" ht.createTime > :startedAfter ", hql);
  |     }
  | 



HTH
Torsten

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

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



More information about the jboss-user mailing list