2 Replies Latest reply on Mar 8, 2007 8:07 PM by julian_k

    JBPM Named Query Issues

    julian_k

      I can't seem to create the HibernateSessionFactory. It is always complaining of named query syntax errors. For example, consider the following error:

      org.hibernate.hql.ast.QuerySyntaxException: unexpected token: pooledActor near line 3, column 116 [
      
       select distinct ti from org.jbpm.taskmgmt.exe.PooledActor pooledActor join pooledActor.taskInstances tiwhere pooledActor.actorId in ( :actorIds )and ti.actorId is null and ti.isSuspended != true and ti.isOpen = true
      
       ]

      I have updated Hibernate to 3.2.2 to no avail. I am running Jbpm 3.1.4 with Spring. Any help is appreciated.

      Thanks,
      Julian