Code:
<set name="properties" inverse="true">
<key column="PROC_INST_ID"/>
<one-to-many class="org.smartcomps.twister.engine.priv.core.dynamic.impl.ProcessInstanceImpl"/>
</set>
You are telling hibernate that the type of the properties property on the ProcessInstanceImpl class is also of type ProcessInstanceImpl. I think what you are trying to do is:
Code:
<set name="properties" inverse="true">
<key column="PROC_INST_ID"/>
<one-to-many class="org.smartcomps.twister.engine.priv.core.dynamic.impl.ValuedPropertyImpl"/>
</set>