I am wondering if there is a way to remove all the workflows (definition, in-flight, tasks, etc) at once in the repository?
The reason I am asking is that, I inadvertently deployed a workflow with the wrong namespace into the database. I removed the definition and the model but it seems that the workflow with the wrong namespace is stuck in the database. When I try to access "any" in the workflow console I would get the error:
"org.springframework.orm.hibernate3.HibernateSystemException: null index column for collection: org.jbpm.graph.def.ProcessDefinition.definitions; nested exception is org.hibernate.HibernateException: null index column for collection: org.jbpm.graph.def.ProcessDefinition.definitions"
Besides killing the database and start anew, is there any thing else I can do to fix this "database corruption" (if you want to call it that ).