0 Replies Latest reply on Sep 6, 2016 10:38 PM by 瑞 马

    eclipse-tomcat-jbpm6.4 named query not found

    瑞 马 Newbie

      hello, jboss developers, when i setup jbpm6 develop envrionment and draw a process, mysql database can update jbpm tables but when i run process by Java code,

       

      there're errors like

      09:58:12.613 [main] WARN  o.j.s.t.p.TaskTransactionInterceptor - Could not commit session

      java.lang.IllegalArgumentException: Named query not found: UnescalatedEndDeadlinesByTaskId

       

      Exception in thread "main" java.lang.IllegalArgumentException: Named query not found: UnescalatedEndDeadlinesByTaskId

        at org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:601)

       

      and i check BPMorm.xml from github, didn't found this file in example project even they are included in persistence.xml file.

       

      How can I know how many query I should write and is there any existing BPMorm.xml or Taskorm.xml can provide to run?

       

      it'll save me a lot of time if project contains these files.