Hi, I'm using drools 5.1.1 with persistent flow and Human Task. In orm.xml are queries Flow and HT. But among this error initializing JPA:

ERROR 24-09 17:20:36,375 - Error in named query: ProcessInstancesWaitingForEvent
org.hibernate.QueryException: cannot dereference scalar collection element: name [select processInstanceInfo.processInstanceId from org.drools.persistence.processinstance.ProcessInstanceInfo processInstanceInfo where :type in (processInstanceInfo.eventTypes.name)]

thanks