-
1. Re: Deleting data from jbpm tables in database
kukeltje Nov 5, 2006 3:10 AM (in response to ksdeger)Bytearrays....nothing odd, by design. The processdefinition and all accompanying data is stored that way in blocks of configurable size. The other rows are always related to a 'first row'. There are kind of sequencenumbers in there (cannot tell you the details now since I do not have access to any code)
Just look a little better, you'll see the relation -
2. Re: Deleting data from jbpm tables in database
kukeltje Nov 5, 2006 3:11 AM (in response to ksdeger)oh, and btw. the bytearrays are afaik related to a process definition, not process instance
-
3. Re: Deleting data from jbpm tables in database
ksdeger Nov 6, 2006 9:18 AM (in response to ksdeger)I've examined the sql code that creates the tables and all the relationships when the jbpm database is created. The only relationships I see for bytearray, based on foreign keys are:
jbpm_bytearray's filedefinition_ has a foreign key relationship to jbpm_moduledefinition (but filedefinition_ is empty in the rows in question)
jbpm_variableinstance's bytearrayvalue_ has a foreign key relationship to jbpm_bytearray
jbpm_byteblock's processfile_ has a foreign key relationship to jbpm_bytearray
(Ok, there are also some relationships from the log, but that's not important right now).
jbpm_variableinstance has a relationship to a jbpm_processinstance but not to jbpm_processdefiniton, exept indirectly.
What am I missing? I've looked at the hbm.xml files and found the same relationships and nothing else. Did something change with Jbpm 3.1?