[jboss-user] [JBoss jBPM] - Re: Clean jbpm Database ?

alex.guizar@jboss.com do-not-reply at jboss.com
Tue Mar 17 05:09:59 EDT 2009


You can call GraphSession.deleteProcessInstance on each instance you want to remove. Note that this method is somewhat slow due to cascading.

If you want mass deletion you can analyze the order of the statements executed by deleteProcessInstance and write a SQL script.

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

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



More information about the jboss-user mailing list