Why alter the foreign keys? Why not just set the JBPM_TOKEN.PROCESSINSTANCE to null on the token table, delete the process instances, and then the tokens.
Also, you might want to look into the GraphSession. In 3.1.x, there is a GraphSession.deleteProcessInstance which will automatically go through and delete everything tied to that process instance, instead of you worrying about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959939#3959939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959939 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
