[jboss-user] [jBPM] New message: "Re: start a process within another process in jbpm 4.3"

Al Nadein do-not-reply at jboss.com
Thu Mar 4 14:42:47 EST 2010

User development,

A new message was posted in the thread "start a process within another process in jbpm 4.3":


Author  : Al Nadein
Profile : http://community.jboss.org/people/matrixpooh

After a little more investigation,
public class *RmExecutionImpl* extends ExecutionImpl{
    private static final long serialVersionUID = 7281196660125907487L;
      protected void save() {              
        this.dbid = DbidGenerator.getDbidGenerator().getNextId();
         * this is the line that makes the diff: set JBPM4_EXECUTION::ID_ to
         * unique value upon INSERT. It affects creating a process within
         * another just created and not yet persisted process. 
        super.id = new Long(super.dbid).toString();
and in jbpm.execution.hbm.xml that is linked to jbpm.hibernate.cfg.xml:
<class name="*RMExecutionImpl*"  table="JBPM4_EXECUTION" discriminator-value="pvm">
The only thing is: had to keep package name org.jbpm.pvm.internal.model
Would still appreciate any other suggestions


To reply to this message visit the message page: http://community.jboss.org/message/530045#530045

More information about the jboss-user mailing list