[jboss-user] [JBoss Seam] - JBPM sessionFactory and annotated entity
do-not-reply at jboss.com
Tue Jan 29 13:07:55 EST 2008
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:
| <subclass discriminator-value="C"
| <property column="CUSTOMID_" generated="never" lazy="false"
| name="customId" />
| <many-to-one name="myContract" column="PROCINST_"></many-to-one>
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!
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
More information about the jboss-user