我正在使用 jPBM 5.4.0 并尝试执行此处解释的示例项目。
EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task");
TaskService taskService = new TaskService(emf,SystemEventListenerFactory.getSystemEventListener());
在第二行中,我收到此错误。
Error in named query: UnescalatedDeadlines
org.hibernate.QueryException: Unable to render boolean literal value [select new org.jbpm.task.query.DeadlineSummary( t.id, d.id, d.date) from org.jbpm.task.Task t, org.jbpm.task.Deadline d where (d in elements( t.deadlines.startDeadlines ) or d in elements( t.deadlines.endDeadlines ) ) and d.escalated = false order by d.date]