--
-- Clean the data only by removing the constraint and re-enabling them.
--

-- Disable constraint (no order)
ALTER TABLE JBPM_ACTION disable  CONSTRAINT FK_ACTION_EVENT;
ALTER TABLE JBPM_ACTION disable  CONSTRAINT FK_ACTION_EXPTHDL;
ALTER TABLE JBPM_ACTION disable  CONSTRAINT FK_ACTION_PROCDEF;
ALTER TABLE JBPM_ACTION disable  CONSTRAINT FK_CRTETIMERACT_TA;
ALTER TABLE JBPM_ACTION disable  CONSTRAINT FK_ACTION_ACTNDEL;
ALTER TABLE JBPM_ACTION disable  CONSTRAINT FK_ACTION_REFACT;
ALTER TABLE JBPM_BYTEARRAY disable  CONSTRAINT FK_BYTEARR_FILDEF;
ALTER TABLE JBPM_BYTEBLOCK disable  CONSTRAINT FK_BYTEBLOCK_FILE;
ALTER TABLE JBPM_COMMENT disable  CONSTRAINT FK_COMMENT_TOKEN;
ALTER TABLE JBPM_COMMENT disable  CONSTRAINT FK_COMMENT_TSK;
ALTER TABLE JBPM_DECISIONCONDITIONS disable  CONSTRAINT FK_DECCOND_DEC;
ALTER TABLE JBPM_DELEGATION disable  CONSTRAINT FK_DELEGATION_PRCD;
ALTER TABLE JBPM_EVENT disable  CONSTRAINT FK_EVENT_PROCDEF;
ALTER TABLE JBPM_EVENT disable  CONSTRAINT FK_EVENT_NODE;
ALTER TABLE JBPM_EVENT disable  CONSTRAINT FK_EVENT_TRANS;
ALTER TABLE JBPM_EVENT disable  CONSTRAINT FK_EVENT_TASK;
ALTER TABLE JBPM_ID_GROUP disable  CONSTRAINT FK_ID_GRP_PARENT;
ALTER TABLE JBPM_ID_MEMBERSHIP disable  CONSTRAINT FK_ID_MEMSHIP_GRP;
ALTER TABLE JBPM_ID_MEMBERSHIP disable  CONSTRAINT FK_ID_MEMSHIP_USR;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_SOURCENODE;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_TOKEN;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_OLDBYTES;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_NEWBYTES;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_CHILDTOKEN;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_DESTNODE;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_TASKINST;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_SWIMINST;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_PARENT;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_NODE;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_ACTION;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_VARINST;
ALTER TABLE JBPM_LOG disable  CONSTRAINT FK_LOG_TRANSITION;
ALTER TABLE JBPM_MESSAGE disable  CONSTRAINT FK_MSG_TOKEN;
ALTER TABLE JBPM_MESSAGE disable  CONSTRAINT FK_CMD_NODE;
ALTER TABLE JBPM_MESSAGE disable  CONSTRAINT FK_CMD_ACTION;
ALTER TABLE JBPM_MESSAGE disable  CONSTRAINT FK_CMD_TASKINST;
ALTER TABLE JBPM_MODULEDEFINITION disable  CONSTRAINT FK_TSKDEF_START;
ALTER TABLE JBPM_MODULEDEFINITION disable  CONSTRAINT FK_MODDEF_PROCDEF;
ALTER TABLE JBPM_MODULEINSTANCE disable  CONSTRAINT FK_TASKMGTINST_TMD;
ALTER TABLE JBPM_MODULEINSTANCE disable  CONSTRAINT FK_MODINST_PRCINST;
ALTER TABLE JBPM_NODE disable  CONSTRAINT FK_PROCST_SBPRCDEF;
ALTER TABLE JBPM_NODE disable  CONSTRAINT FK_NODE_PROCDEF;
ALTER TABLE JBPM_NODE disable  CONSTRAINT FK_NODE_ACTION;
ALTER TABLE JBPM_NODE disable  CONSTRAINT FK_DECISION_DELEG;
ALTER TABLE JBPM_NODE disable  CONSTRAINT FK_NODE_SUPERSTATE;
ALTER TABLE JBPM_POOLEDACTOR disable  CONSTRAINT FK_POOLEDACTOR_SLI;
ALTER TABLE JBPM_PROCESSDEFINITION disable  CONSTRAINT FK_PROCDEF_STRTSTA;
ALTER TABLE JBPM_PROCESSINSTANCE disable  CONSTRAINT FK_PROCIN_PROCDEF;
ALTER TABLE JBPM_PROCESSINSTANCE disable  CONSTRAINT FK_PROCIN_ROOTTKN;
ALTER TABLE JBPM_PROCESSINSTANCE disable  CONSTRAINT FK_PROCIN_SPROCTKN;
ALTER TABLE JBPM_RUNTIMEACTION disable  CONSTRAINT FK_RTACTN_PROCINST;
ALTER TABLE JBPM_RUNTIMEACTION disable  CONSTRAINT FK_RTACTN_ACTION;
ALTER TABLE JBPM_SWIMLANE disable  CONSTRAINT FK_SWL_ASSDEL;
ALTER TABLE JBPM_SWIMLANE disable  CONSTRAINT FK_SWL_TSKMGMTDEF;
ALTER TABLE JBPM_SWIMLANEINSTANCE disable  CONSTRAINT FK_SWIMLANEINST_TM;
ALTER TABLE JBPM_SWIMLANEINSTANCE disable  CONSTRAINT FK_SWIMLANEINST_SL;
ALTER TABLE JBPM_TASK disable  CONSTRAINT FK_TSK_TSKCTRL;
ALTER TABLE JBPM_TASK disable  CONSTRAINT FK_TASK_ASSDEL;
ALTER TABLE JBPM_TASK disable  CONSTRAINT FK_TASK_TASKNODE;
ALTER TABLE JBPM_TASK disable  CONSTRAINT FK_TASK_PROCDEF;
ALTER TABLE JBPM_TASK disable  CONSTRAINT FK_TASK_STARTST;
ALTER TABLE JBPM_TASK disable  CONSTRAINT FK_TASK_TASKMGTDEF;
ALTER TABLE JBPM_TASK disable  CONSTRAINT FK_TASK_SWIMLANE;
ALTER TABLE JBPM_TASKACTORPOOL disable  CONSTRAINT FK_TSKACTPOL_PLACT;
ALTER TABLE JBPM_TASKACTORPOOL disable  CONSTRAINT FK_TASKACTPL_TSKI;
ALTER TABLE JBPM_TASKCONTROLLER disable  CONSTRAINT FK_TSKCTRL_DELEG;
ALTER TABLE JBPM_TASKINSTANCE disable  CONSTRAINT FK_TASKINST_TMINST;
ALTER TABLE JBPM_TASKINSTANCE disable  CONSTRAINT FK_TASKINST_TOKEN;
ALTER TABLE JBPM_TASKINSTANCE disable  CONSTRAINT FK_TASKINST_SLINST;
ALTER TABLE JBPM_TASKINSTANCE disable  CONSTRAINT FK_TASKINST_TASK;
ALTER TABLE JBPM_TIMER disable  CONSTRAINT FK_TIMER_TOKEN;
ALTER TABLE JBPM_TIMER disable  CONSTRAINT FK_TIMER_PRINST;
ALTER TABLE JBPM_TIMER disable  CONSTRAINT FK_TIMER_ACTION;
ALTER TABLE JBPM_TIMER disable  CONSTRAINT FK_TIMER_TSKINST;
ALTER TABLE JBPM_TOKEN disable  CONSTRAINT FK_TOKEN_PARENT;
ALTER TABLE JBPM_TOKEN disable  CONSTRAINT FK_TOKEN_NODE;
ALTER TABLE JBPM_TOKEN disable  CONSTRAINT FK_TOKEN_PROCINST;
ALTER TABLE JBPM_TOKEN disable  CONSTRAINT FK_TOKEN_SUBPI;
ALTER TABLE JBPM_TOKENVARIABLEMAP disable  CONSTRAINT FK_TKVARMAP_CTXT;
ALTER TABLE JBPM_TOKENVARIABLEMAP disable  CONSTRAINT FK_TKVARMAP_TOKEN;
ALTER TABLE JBPM_TRANSITION disable  CONSTRAINT FK_TRANSITION_TO;
ALTER TABLE JBPM_TRANSITION disable  CONSTRAINT FK_TRANS_PROCDEF;
ALTER TABLE JBPM_TRANSITION disable  CONSTRAINT FK_TRANSITION_FROM;
ALTER TABLE JBPM_VARIABLEACCESS disable  CONSTRAINT FK_VARACC_TSKCTRL;
ALTER TABLE JBPM_VARIABLEACCESS disable  CONSTRAINT FK_VARACC_SCRIPT;
ALTER TABLE JBPM_VARIABLEACCESS disable  CONSTRAINT FK_VARACC_PROCST;
ALTER TABLE JBPM_VARIABLEINSTANCE disable  CONSTRAINT FK_VARINST_TK;
ALTER TABLE JBPM_VARIABLEINSTANCE disable  CONSTRAINT FK_VARINST_TKVARMP;
ALTER TABLE JBPM_VARIABLEINSTANCE disable  CONSTRAINT FK_VARINST_PRCINST;
ALTER TABLE JBPM_VARIABLEINSTANCE disable  CONSTRAINT FK_VAR_TSKINST;
ALTER TABLE JBPM_VARIABLEINSTANCE disable  CONSTRAINT FK_BYTEINST_ARRAY;

-- Truncate data
TRUNCATE TABLE  JBPM_ACTION;
TRUNCATE TABLE  JBPM_ACTION;
TRUNCATE TABLE  JBPM_ACTION;
TRUNCATE TABLE  JBPM_ACTION;
TRUNCATE TABLE  JBPM_ACTION;
TRUNCATE TABLE  JBPM_ACTION;
TRUNCATE TABLE  JBPM_BYTEARRAY;
TRUNCATE TABLE  JBPM_BYTEBLOCK;
TRUNCATE TABLE  JBPM_COMMENT;
TRUNCATE TABLE  JBPM_COMMENT;
TRUNCATE TABLE  JBPM_DECISIONCONDITIONS;
TRUNCATE TABLE  JBPM_DELEGATION;
TRUNCATE TABLE  JBPM_EVENT;
TRUNCATE TABLE  JBPM_EVENT;
TRUNCATE TABLE  JBPM_EVENT;
TRUNCATE TABLE  JBPM_EVENT;
TRUNCATE TABLE  JBPM_ID_GROUP;
TRUNCATE TABLE  JBPM_ID_MEMBERSHIP;
TRUNCATE TABLE  JBPM_ID_MEMBERSHIP;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_LOG;
TRUNCATE TABLE  JBPM_MESSAGE;
TRUNCATE TABLE  JBPM_MESSAGE;
TRUNCATE TABLE  JBPM_MESSAGE;
TRUNCATE TABLE  JBPM_MESSAGE;
TRUNCATE TABLE  JBPM_MODULEDEFINITION;
TRUNCATE TABLE  JBPM_MODULEDEFINITION;
TRUNCATE TABLE  JBPM_MODULEINSTANCE;
TRUNCATE TABLE  JBPM_MODULEINSTANCE;
TRUNCATE TABLE  JBPM_NODE;
TRUNCATE TABLE  JBPM_NODE;
TRUNCATE TABLE  JBPM_NODE;
TRUNCATE TABLE  JBPM_NODE;
TRUNCATE TABLE  JBPM_NODE;
TRUNCATE TABLE  JBPM_POOLEDACTOR;
TRUNCATE TABLE  JBPM_PROCESSDEFINITION;
TRUNCATE TABLE  JBPM_PROCESSINSTANCE;
TRUNCATE TABLE  JBPM_PROCESSINSTANCE;
TRUNCATE TABLE  JBPM_PROCESSINSTANCE;
TRUNCATE TABLE  JBPM_RUNTIMEACTION;
TRUNCATE TABLE  JBPM_RUNTIMEACTION;
TRUNCATE TABLE  JBPM_SWIMLANE;
TRUNCATE TABLE  JBPM_SWIMLANE;
TRUNCATE TABLE  JBPM_SWIMLANEINSTANCE;
TRUNCATE TABLE  JBPM_SWIMLANEINSTANCE;
TRUNCATE TABLE  JBPM_TASK;
TRUNCATE TABLE  JBPM_TASK;
TRUNCATE TABLE  JBPM_TASK;
TRUNCATE TABLE  JBPM_TASK;
TRUNCATE TABLE  JBPM_TASK;
TRUNCATE TABLE  JBPM_TASK;
TRUNCATE TABLE  JBPM_TASK;
TRUNCATE TABLE  JBPM_TASKACTORPOOL;
TRUNCATE TABLE  JBPM_TASKACTORPOOL;
TRUNCATE TABLE  JBPM_TASKCONTROLLER;
TRUNCATE TABLE  JBPM_TASKINSTANCE;
TRUNCATE TABLE  JBPM_TASKINSTANCE;
TRUNCATE TABLE  JBPM_TASKINSTANCE;
TRUNCATE TABLE  JBPM_TASKINSTANCE;
TRUNCATE TABLE  JBPM_TIMER;
TRUNCATE TABLE  JBPM_TIMER;
TRUNCATE TABLE  JBPM_TIMER;
TRUNCATE TABLE  JBPM_TIMER;
TRUNCATE TABLE  JBPM_TOKEN;
TRUNCATE TABLE  JBPM_TOKEN;
TRUNCATE TABLE  JBPM_TOKEN;
TRUNCATE TABLE  JBPM_TOKEN;
TRUNCATE TABLE  JBPM_TOKENVARIABLEMAP;
TRUNCATE TABLE  JBPM_TOKENVARIABLEMAP;
TRUNCATE TABLE  JBPM_TRANSITION;
TRUNCATE TABLE  JBPM_TRANSITION;
TRUNCATE TABLE  JBPM_TRANSITION;
TRUNCATE TABLE  JBPM_VARIABLEACCESS;
TRUNCATE TABLE  JBPM_VARIABLEACCESS;
TRUNCATE TABLE  JBPM_VARIABLEACCESS;
TRUNCATE TABLE  JBPM_VARIABLEINSTANCE;
TRUNCATE TABLE  JBPM_VARIABLEINSTANCE;
TRUNCATE TABLE  JBPM_VARIABLEINSTANCE;
TRUNCATE TABLE  JBPM_VARIABLEINSTANCE;
TRUNCATE TABLE  JBPM_VARIABLEINSTANCE;

-- Enable the constraints
ALTER TABLE JBPM_ACTION enable  CONSTRAINT FK_ACTION_EVENT;
ALTER TABLE JBPM_ACTION enable  CONSTRAINT FK_ACTION_EXPTHDL;
ALTER TABLE JBPM_ACTION enable  CONSTRAINT FK_ACTION_PROCDEF;
ALTER TABLE JBPM_ACTION enable  CONSTRAINT FK_CRTETIMERACT_TA;
ALTER TABLE JBPM_ACTION enable  CONSTRAINT FK_ACTION_ACTNDEL;
ALTER TABLE JBPM_ACTION enable  CONSTRAINT FK_ACTION_REFACT;
ALTER TABLE JBPM_BYTEARRAY enable  CONSTRAINT FK_BYTEARR_FILDEF;
ALTER TABLE JBPM_BYTEBLOCK enable  CONSTRAINT FK_BYTEBLOCK_FILE;
ALTER TABLE JBPM_COMMENT enable  CONSTRAINT FK_COMMENT_TOKEN;
ALTER TABLE JBPM_COMMENT enable  CONSTRAINT FK_COMMENT_TSK;
ALTER TABLE JBPM_DECISIONCONDITIONS enable  CONSTRAINT FK_DECCOND_DEC;
ALTER TABLE JBPM_DELEGATION enable  CONSTRAINT FK_DELEGATION_PRCD;
ALTER TABLE JBPM_EVENT enable  CONSTRAINT FK_EVENT_PROCDEF;
ALTER TABLE JBPM_EVENT enable  CONSTRAINT FK_EVENT_NODE;
ALTER TABLE JBPM_EVENT enable  CONSTRAINT FK_EVENT_TRANS;
ALTER TABLE JBPM_EVENT enable  CONSTRAINT FK_EVENT_TASK;
ALTER TABLE JBPM_ID_GROUP enable  CONSTRAINT FK_ID_GRP_PARENT;
ALTER TABLE JBPM_ID_MEMBERSHIP enable  CONSTRAINT FK_ID_MEMSHIP_GRP;
ALTER TABLE JBPM_ID_MEMBERSHIP enable  CONSTRAINT FK_ID_MEMSHIP_USR;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_SOURCENODE;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_TOKEN;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_OLDBYTES;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_NEWBYTES;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_CHILDTOKEN;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_DESTNODE;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_TASKINST;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_SWIMINST;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_PARENT;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_NODE;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_ACTION;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_VARINST;
ALTER TABLE JBPM_LOG enable  CONSTRAINT FK_LOG_TRANSITION;
ALTER TABLE JBPM_MESSAGE enable  CONSTRAINT FK_MSG_TOKEN;
ALTER TABLE JBPM_MESSAGE enable  CONSTRAINT FK_CMD_NODE;
ALTER TABLE JBPM_MESSAGE enable  CONSTRAINT FK_CMD_ACTION;
ALTER TABLE JBPM_MESSAGE enable  CONSTRAINT FK_CMD_TASKINST;
ALTER TABLE JBPM_MODULEDEFINITION enable  CONSTRAINT FK_TSKDEF_START;
ALTER TABLE JBPM_MODULEDEFINITION enable  CONSTRAINT FK_MODDEF_PROCDEF;
ALTER TABLE JBPM_MODULEINSTANCE enable  CONSTRAINT FK_TASKMGTINST_TMD;
ALTER TABLE JBPM_MODULEINSTANCE enable  CONSTRAINT FK_MODINST_PRCINST;
ALTER TABLE JBPM_NODE enable  CONSTRAINT FK_PROCST_SBPRCDEF;
ALTER TABLE JBPM_NODE enable  CONSTRAINT FK_NODE_PROCDEF;
ALTER TABLE JBPM_NODE enable  CONSTRAINT FK_NODE_ACTION;
ALTER TABLE JBPM_NODE enable  CONSTRAINT FK_DECISION_DELEG;
ALTER TABLE JBPM_NODE enable  CONSTRAINT FK_NODE_SUPERSTATE;
ALTER TABLE JBPM_POOLEDACTOR enable  CONSTRAINT FK_POOLEDACTOR_SLI;
ALTER TABLE JBPM_PROCESSDEFINITION enable  CONSTRAINT FK_PROCDEF_STRTSTA;
ALTER TABLE JBPM_PROCESSINSTANCE enable  CONSTRAINT FK_PROCIN_PROCDEF;
ALTER TABLE JBPM_PROCESSINSTANCE enable  CONSTRAINT FK_PROCIN_ROOTTKN;
ALTER TABLE JBPM_PROCESSINSTANCE enable  CONSTRAINT FK_PROCIN_SPROCTKN;
ALTER TABLE JBPM_RUNTIMEACTION enable  CONSTRAINT FK_RTACTN_PROCINST;
ALTER TABLE JBPM_RUNTIMEACTION enable  CONSTRAINT FK_RTACTN_ACTION;
ALTER TABLE JBPM_SWIMLANE enable  CONSTRAINT FK_SWL_ASSDEL;
ALTER TABLE JBPM_SWIMLANE enable  CONSTRAINT FK_SWL_TSKMGMTDEF;
ALTER TABLE JBPM_SWIMLANEINSTANCE enable  CONSTRAINT FK_SWIMLANEINST_TM;
ALTER TABLE JBPM_SWIMLANEINSTANCE enable  CONSTRAINT FK_SWIMLANEINST_SL;
ALTER TABLE JBPM_TASK enable  CONSTRAINT FK_TSK_TSKCTRL;
ALTER TABLE JBPM_TASK enable  CONSTRAINT FK_TASK_ASSDEL;
ALTER TABLE JBPM_TASK enable  CONSTRAINT FK_TASK_TASKNODE;
ALTER TABLE JBPM_TASK enable  CONSTRAINT FK_TASK_PROCDEF;
ALTER TABLE JBPM_TASK enable  CONSTRAINT FK_TASK_STARTST;
ALTER TABLE JBPM_TASK enable  CONSTRAINT FK_TASK_TASKMGTDEF;
ALTER TABLE JBPM_TASK enable  CONSTRAINT FK_TASK_SWIMLANE;
ALTER TABLE JBPM_TASKACTORPOOL enable  CONSTRAINT FK_TSKACTPOL_PLACT;
ALTER TABLE JBPM_TASKACTORPOOL enable  CONSTRAINT FK_TASKACTPL_TSKI;
ALTER TABLE JBPM_TASKCONTROLLER enable  CONSTRAINT FK_TSKCTRL_DELEG;
ALTER TABLE JBPM_TASKINSTANCE enable  CONSTRAINT FK_TASKINST_TMINST;
ALTER TABLE JBPM_TASKINSTANCE enable  CONSTRAINT FK_TASKINST_TOKEN;
ALTER TABLE JBPM_TASKINSTANCE enable  CONSTRAINT FK_TASKINST_SLINST;
ALTER TABLE JBPM_TASKINSTANCE enable  CONSTRAINT FK_TASKINST_TASK;
ALTER TABLE JBPM_TIMER enable  CONSTRAINT FK_TIMER_TOKEN;
ALTER TABLE JBPM_TIMER enable  CONSTRAINT FK_TIMER_PRINST;
ALTER TABLE JBPM_TIMER enable  CONSTRAINT FK_TIMER_ACTION;
ALTER TABLE JBPM_TIMER enable  CONSTRAINT FK_TIMER_TSKINST;
ALTER TABLE JBPM_TOKEN enable  CONSTRAINT FK_TOKEN_PARENT;
ALTER TABLE JBPM_TOKEN enable  CONSTRAINT FK_TOKEN_NODE;
ALTER TABLE JBPM_TOKEN enable  CONSTRAINT FK_TOKEN_PROCINST;
ALTER TABLE JBPM_TOKEN enable  CONSTRAINT FK_TOKEN_SUBPI;
ALTER TABLE JBPM_TOKENVARIABLEMAP enable  CONSTRAINT FK_TKVARMAP_CTXT;
ALTER TABLE JBPM_TOKENVARIABLEMAP enable  CONSTRAINT FK_TKVARMAP_TOKEN;
ALTER TABLE JBPM_TRANSITION enable  CONSTRAINT FK_TRANSITION_TO;
ALTER TABLE JBPM_TRANSITION enable  CONSTRAINT FK_TRANS_PROCDEF;
ALTER TABLE JBPM_TRANSITION enable  CONSTRAINT FK_TRANSITION_FROM;
ALTER TABLE JBPM_VARIABLEACCESS enable  CONSTRAINT FK_VARACC_TSKCTRL;
ALTER TABLE JBPM_VARIABLEACCESS enable  CONSTRAINT FK_VARACC_SCRIPT;
ALTER TABLE JBPM_VARIABLEACCESS enable  CONSTRAINT FK_VARACC_PROCST;
ALTER TABLE JBPM_VARIABLEINSTANCE enable  CONSTRAINT FK_VARINST_TK;
ALTER TABLE JBPM_VARIABLEINSTANCE enable  CONSTRAINT FK_VARINST_TKVARMP;
ALTER TABLE JBPM_VARIABLEINSTANCE enable  CONSTRAINT FK_VARINST_PRCINST;
ALTER TABLE JBPM_VARIABLEINSTANCE enable  CONSTRAINT FK_VAR_TSKINST;
ALTER TABLE JBPM_VARIABLEINSTANCE enable  CONSTRAINT FK_BYTEINST_ARRAY;
