AnsweredAssumed Answered

wrong FK ACT_RU_TASK.PROC_INST_ID to ACT_RU_EXECUTION

Question asked by tzaenker on Jun 17, 2016
Latest reply on Jun 27, 2016 by tzaenker
Hi,
in Activiti 6 I have found an Oracle Foreign Key from ACT_RU_TASK column PROC_INST_ID_ to ACT_RU_EXECUTION.PROC_INST_ID_

This is a little bit incorrect because the PROC_INST_ID_ of the Excecution side can appear multiple times. This blows my hibernate up when I use my own queries.

Shouldn't the Foreign key point to a unique column like ACT_HI_PROCINST.ID_ ?

Outcomes