I have an entity model annotated in seam and working fine. My Processes are 
managed by JBPM also working isolated. Now i extended the TaskInstance for 
using an entity as an attribute in the TaskInstance:

<hibernate-mapping default-access="field">
  |     <subclass discriminator-value="C"
  |             extends="org.jbpm.taskmgmt.exe.TaskInstance"
  |             name="com.nsd.business.portal.jbpm.CustomTaskInstance"
  |             select-before-update="false">
  |             <property column="CUSTOMID_" generated="never" lazy="false"
  |                     name="customId" />
  |             <many-to-one name="myContract" column="PROCINST_"></many-to-one>
  |     </subclass>
  | </hibernate-mapping>
  | 

As the hibernate.cfg.xml has no access to annotatedConfiguration on the one 
hand and my persistence.xml can not take care of JBPM mapping on the other hand 
this relation is not possible?!?!?

Do i really have to produce an dublicated mapping just for jbpm with 
MyContract.hbm.xml and all of its own relations?

Is there an bridge to connect those sessionFactories?

Thx for any input!

Timo

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124524#4124524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124524
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to