This content has been marked as final.
Show 2 replies
-
1. Re: Clean jbpm Database ?
kukeltje Mar 11, 2009 9:53 PM (in response to tvraghavan)uhhmmm.... if you use e.g. hibernate, it will do it for you. Is a lot easier
-
2. Re: Clean jbpm Database ?
aguizar Mar 17, 2009 5:09 AM (in response to tvraghavan)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.