1 Reply Latest reply on Feb 13, 2006 6:25 AM by yd40

    Serious bug

    yd40

      I seems that I found a serious bug in the JBPM.
      in the TaskMgmtSession class there are queries with errors.
      "select ti " +
      "from org.jbpm.taskmgmt.exe.TaskInstance as ti " +
      "where ti.actorId = :actorId " +
      " and ti.end is null " +
      " and ti.isCancelled = false";
      isCancelled is number not boolean!

      The solution that I have is to Overwrite the class

      Issak.


        • 1. Re: Serious bug
          yd40

          It seems that this issue had been investigated:

          From the hibernate docs:

          3.4.5. Query Language Substitution

          You may define new Hibernate query tokens using hibernate.query.substitutions. For example:

          hibernate.query.substitutions true=1, false=0

          Sorry,
          Issak.