<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><span style="font-family: arial, sans-serif; font-size: 19px; "><span title="" style="background-color: rgb(230, 236, 249); color: rgb(0, 0, 0); ">Hi, I&#39;m using drools 5.1.1 with persistent flow and Human Task. </span><span title="">In orm.xml are queries Flow and HT. </span><span title="" style="background-color: rgb(255, 255, 255); ">But among this error initializing JPA:</span></span><div>
<span style="font-family: arial, sans-serif; font-size: 19px; "><span title="" style="background-color: rgb(255, 255, 255); "><br></span></span></div><div><span style="font-family: arial, sans-serif; font-size: 19px; "><span title="" style="background-color: rgb(255, 255, 255); "><div>
ERROR 24-09 17:20:36,375 - Error in named query: ProcessInstancesWaitingForEvent<br>org.hibernate.QueryException: cannot dereference scalar collection element: name [select processInstanceInfo.processInstanceId from org.drools.persistence.processinstance.ProcessInstanceInfo processInstanceInfo where :type in (<a href="http://processinstanceinfo.eventtypes.name/" target="_blank" style="color: rgb(42, 93, 176); ">processInstanceInfo.eventTypes.name</a>)]<br>
</div><div><br></div><div>thanks</div><div><br></div></span></span></div></span>