[jboss-user] [JBoss jBPM] - New process instance always get persisted

bungrudi do-not-reply at jboss.com
Fri Feb 22 09:44:31 EST 2008


Dear all,

When in a persistence context, creating a process instance using JbpmContext.createNewProcessInstance(String procDefName) always end up with the newly created instance persisted in the database. 
I think this should not be the case, since there is JbpmContext.createNewProcessInstanceForUpdate(String procDefName).
The latter should be creating an instance that is persisted upon creation, while the first should create a transient task instance that should be manually persisted.
This auto persisting behaviour is coded into one of only two ProcessInstance constructor.

I'm using 3.1.4 and don't know if this have changed in later version, nor is this an intended behaviour. 

Should I file a bug?

regards,

Rudi

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131425



More information about the jboss-user mailing list