What causes "org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped"' while creating the jBPM human task sample project in JBDS ?

Solution Unverified - Updated -

Issue

  • I created a jBPM5 human task sample project in JBDS but when running ProcessTest it throws the following exception:
04/07 18:06:33,720[main] ERROR hibernate.impl.SessionFactoryImpl.<init>  - Error in named query: ProcessInstancesWaitingForEvent
org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo join processInstanceInfo.eventTypes eventTypes where eventTypes = :type]
    at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:181)
...

Can you please advise what causes this ERROR?

Environment

  • JBoss Enterprise Business Rules Management System Platform (BRMS)
    • 5.3.0
  • jBPM
    • 5.x
  • JBoss Developer Studio (JBDS)
    • 5.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content