0
我正在使用jPBM 5.4.0並試圖做解釋here的示例項目。命名查詢錯誤:UnescalatedDeadlines?
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]