Hi!
I got around it by a orm:
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings
xmlns="http://java.sun.com/xml/ns/persistence/orm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
version="2.0">
<named-query name="ProcessInstancesWaitingForEvent">
<query>
SELECT p.processInstanceId
FROM ProcessInstanceInfo p
WHERE :type MEMBER OF p.eventTypes</query>
</named-query>
<entity
class="org.jbpm.persistence.processinstance.ProcessInstanceInfo">
<attributes>
<element-collection name="eventTypes">
<collection-table name="EventTypes">
<join-column name="InstanceId" />
</collection-table>
</element-collection>
</attributes>
</entity>
</entity-mappings>
I had to redo the named query too.
After this the next problem pops up ;-( (make a new thread & a new JIRA)
juergen
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Problem-ProcessInstan...
Sent from the Drools - Dev mailing list archive at
Nabble.com.