[jboss-user] [JBoss jBPM] - Re: Changing the id of a processDefinition or of a instance?

dleerob do-not-reply at jboss.com
Tue Dec 11 02:49:27 EST 2007


You shouldn't be changing the ID of a ProcessDefinition or ProcessInstance. They are auto generated when saving to the database, as with most id fields. They start at zero, and increment by one for each new table row.

So yes, the first ones should have an ID of zero, and then the next one will have an ID of 2, and then 3, and then 4, etc etc etc......It's just a unique identifier. Let it be :)

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

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



More information about the jboss-user mailing list