- 浏览: 68011 次
- 性别:
- 来自: 西安
最新评论
create table JBPM4_DEPLOYMENT (
DBID_ number(19,0) not null,
NAME_ clob,
TIMESTAMP_ number(19,0),
STATE_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_DEPLOYPROP (
DBID_ number(19,0) not null,
DEPLOYMENT_ number(19,0),
OBJNAME_ varchar2(255 char),
KEY_ varchar2(255 char),
STRINGVAL_ varchar2(255 char),
LONGVAL_ number(19,0),
primary key (DBID_)
);
create table JBPM4_EXECUTION (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
ACTIVITYNAME_ varchar2(255 char),
PROCDEFID_ varchar2(255 char),
HASVARS_ number(1,0),
NAME_ varchar2(255 char),
KEY_ varchar2(255 char),
ID_ varchar2(255 char) unique,
STATE_ varchar2(255 char),
SUSPHISTSTATE_ varchar2(255 char),
PRIORITY_ number(10,0),
HISACTINST_ number(19,0),
PARENT_ number(19,0),
INSTANCE_ number(19,0),
SUPEREXEC_ number(19,0),
SUBPROCINST_ number(19,0),
PARENT_IDX_ number(10,0),
primary key (DBID_)
);
create table JBPM4_HIST_ACTINST (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
HPROCI_ number(19,0),
TYPE_ varchar2(255 char),
EXECUTION_ varchar2(255 char),
ACTIVITY_NAME_ varchar2(255 char),
START_ timestamp,
END_ timestamp,
DURATION_ number(19,0),
TRANSITION_ varchar2(255 char),
NEXTIDX_ number(10,0),
HTASK_ number(19,0),
primary key (DBID_)
);
create table JBPM4_HIST_DETAIL (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
USERID_ varchar2(255 char),
TIME_ timestamp,
HPROCI_ number(19,0),
HPROCIIDX_ number(10,0),
HACTI_ number(19,0),
HACTIIDX_ number(10,0),
HTASK_ number(19,0),
HTASKIDX_ number(10,0),
HVAR_ number(19,0),
HVARIDX_ number(10,0),
MESSAGE_ clob,
OLD_STR_ varchar2(255 char),
NEW_STR_ varchar2(255 char),
OLD_INT_ number(10,0),
NEW_INT_ number(10,0),
OLD_TIME_ timestamp,
NEW_TIME_ timestamp,
PARENT_ number(19,0),
PARENT_IDX_ number(10,0),
primary key (DBID_)
);
create table JBPM4_HIST_PROCINST (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
ID_ varchar2(255 char),
PROCDEFID_ varchar2(255 char),
KEY_ varchar2(255 char),
START_ timestamp,
END_ timestamp,
DURATION_ number(19,0),
STATE_ varchar2(255 char),
ENDACTIVITY_ varchar2(255 char),
NEXTIDX_ number(10,0),
primary key (DBID_)
);
create table JBPM4_HIST_TASK (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
EXECUTION_ varchar2(255 char),
OUTCOME_ varchar2(255 char),
ASSIGNEE_ varchar2(255 char),
PRIORITY_ number(10,0),
STATE_ varchar2(255 char),
CREATE_ timestamp,
END_ timestamp,
DURATION_ number(19,0),
NEXTIDX_ number(10,0),
SUPERTASK_ number(19,0),
primary key (DBID_)
);
create table JBPM4_HIST_VAR (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
PROCINSTID_ varchar2(255 char),
EXECUTIONID_ varchar2(255 char),
VARNAME_ varchar2(255 char),
VALUE_ varchar2(255 char),
HPROCI_ number(19,0),
HTASK_ number(19,0),
primary key (DBID_)
);
create table JBPM4_ID_GROUP (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
ID_ varchar2(255 char),
NAME_ varchar2(255 char),
TYPE_ varchar2(255 char),
PARENT_ number(19,0),
primary key (DBID_)
);
create table JBPM4_ID_MEMBERSHIP (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
USER_ number(19,0),
GROUP_ number(19,0),
NAME_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_ID_USER (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
ID_ varchar2(255 char),
PASSWORD_ varchar2(255 char),
GIVENNAME_ varchar2(255 char),
FAMILYNAME_ varchar2(255 char),
BUSINESSEMAIL_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_JOB (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
DUEDATE_ timestamp,
STATE_ varchar2(255 char),
ISEXCLUSIVE_ number(1,0),
LOCKOWNER_ varchar2(255 char),
LOCKEXPTIME_ timestamp,
EXCEPTION_ clob,
RETRIES_ number(10,0),
PROCESSINSTANCE_ number(19,0),
EXECUTION_ number(19,0),
CFG_ number(19,0),
SIGNAL_ varchar2(255 char),
EVENT_ varchar2(255 char),
REPEAT_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_LOB (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
BLOB_VALUE_ blob,
DEPLOYMENT_ number(19,0),
NAME_ clob,
primary key (DBID_)
);
create table JBPM4_PARTICIPATION (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
GROUPID_ varchar2(255 char),
USERID_ varchar2(255 char),
TYPE_ varchar2(255 char),
TASK_ number(19,0),
SWIMLANE_ number(19,0),
primary key (DBID_)
);
create table JBPM4_PROPERTY (
KEY_ varchar2(255 char) not null,
VERSION_ number(10,0) not null,
VALUE_ varchar2(255 char),
primary key (KEY_)
);
create table JBPM4_SWIMLANE (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
NAME_ varchar2(255 char),
ASSIGNEE_ varchar2(255 char),
EXECUTION_ number(19,0),
primary key (DBID_)
);
create table JBPM4_TASK (
DBID_ number(19,0) not null,
CLASS_ char(1 char) not null,
DBVERSION_ number(10,0) not null,
NAME_ varchar2(255 char),
DESCR_ clob,
STATE_ varchar2(255 char),
SUSPHISTSTATE_ varchar2(255 char),
ASSIGNEE_ varchar2(255 char),
FORM_ varchar2(255 char),
PRIORITY_ number(10,0),
CREATE_ timestamp,
DUEDATE_ timestamp,
PROGRESS_ number(10,0),
SIGNALLING_ number(1,0),
EXECUTION_ID_ varchar2(255 char),
ACTIVITY_NAME_ varchar2(255 char),
HASVARS_ number(1,0),
SUPERTASK_ number(19,0),
EXECUTION_ number(19,0),
PROCINST_ number(19,0),
SWIMLANE_ number(19,0),
TASKDEFNAME_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_VARIABLE (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
KEY_ varchar2(255 char),
CONVERTER_ varchar2(255 char),
HIST_ number(1,0),
EXECUTION_ number(19,0),
TASK_ number(19,0),
LOB_ number(19,0),
DATE_VALUE_ timestamp,
DOUBLE_VALUE_ double precision,
CLASSNAME_ varchar2(255 char),
LONG_VALUE_ number(19,0),
STRING_VALUE_ varchar2(255 char),
TEXT_VALUE_ clob,
EXESYS_ number(19,0),
primary key (DBID_)
);
create index IDX_DEPLPROP_DEPL on JBPM4_DEPLOYPROP (DEPLOYMENT_);
alter table JBPM4_DEPLOYPROP
add constraint FK_DEPLPROP_DEPL
foreign key (DEPLOYMENT_)
references JBPM4_DEPLOYMENT;
create index IDX_EXEC_SUPEREXEC on JBPM4_EXECUTION (SUPEREXEC_);
create index IDX_EXEC_INSTANCE on JBPM4_EXECUTION (INSTANCE_);
create index IDX_EXEC_SUBPI on JBPM4_EXECUTION (SUBPROCINST_);
create index IDX_EXEC_PARENT on JBPM4_EXECUTION (PARENT_);
alter table JBPM4_EXECUTION
add constraint FK_EXEC_PARENT
foreign key (PARENT_)
references JBPM4_EXECUTION;
alter table JBPM4_EXECUTION
add constraint FK_EXEC_SUBPI
foreign key (SUBPROCINST_)
references JBPM4_EXECUTION;
alter table JBPM4_EXECUTION
add constraint FK_EXEC_INSTANCE
foreign key (INSTANCE_)
references JBPM4_EXECUTION;
alter table JBPM4_EXECUTION
add constraint FK_EXEC_SUPEREXEC
foreign key (SUPEREXEC_)
references JBPM4_EXECUTION;
create index IDX_HACTI_HPROCI on JBPM4_HIST_ACTINST (HPROCI_);
create index IDX_HTI_HTASK on JBPM4_HIST_ACTINST (HTASK_);
alter table JBPM4_HIST_ACTINST
add constraint FK_HACTI_HPROCI
foreign key (HPROCI_)
references JBPM4_HIST_PROCINST;
alter table JBPM4_HIST_ACTINST
add constraint FK_HTI_HTASK
foreign key (HTASK_)
references JBPM4_HIST_TASK;
create index IDX_HDET_HACTI on JBPM4_HIST_DETAIL (HACTI_);
create index IDX_HDET_HPROCI on JBPM4_HIST_DETAIL (HPROCI_);
create index IDX_HDET_HVAR on JBPM4_HIST_DETAIL (HVAR_);
create index IDX_HDET_HTASK on JBPM4_HIST_DETAIL (HTASK_);
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HPROCI
foreign key (HPROCI_)
references JBPM4_HIST_PROCINST;
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HACTI
foreign key (HACTI_)
references JBPM4_HIST_ACTINST;
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HTASK
foreign key (HTASK_)
references JBPM4_HIST_TASK;
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HVAR
foreign key (HVAR_)
references JBPM4_HIST_VAR;
create index IDX_HSUPERT_SUB on JBPM4_HIST_TASK (SUPERTASK_);
alter table JBPM4_HIST_TASK
add constraint FK_HSUPERT_SUB
foreign key (SUPERTASK_)
references JBPM4_HIST_TASK;
create index IDX_HVAR_HPROCI on JBPM4_HIST_VAR (HPROCI_);
create index IDX_HVAR_HTASK on JBPM4_HIST_VAR (HTASK_);
alter table JBPM4_HIST_VAR
add constraint FK_HVAR_HPROCI
foreign key (HPROCI_)
references JBPM4_HIST_PROCINST;
alter table JBPM4_HIST_VAR
add constraint FK_HVAR_HTASK
foreign key (HTASK_)
references JBPM4_HIST_TASK;
create index IDX_GROUP_PARENT on JBPM4_ID_GROUP (PARENT_);
alter table JBPM4_ID_GROUP
add constraint FK_GROUP_PARENT
foreign key (PARENT_)
references JBPM4_ID_GROUP;
create index IDX_MEM_USER on JBPM4_ID_MEMBERSHIP (USER_);
create index IDX_MEM_GROUP on JBPM4_ID_MEMBERSHIP (GROUP_);
alter table JBPM4_ID_MEMBERSHIP
add constraint FK_MEM_GROUP
foreign key (GROUP_)
references JBPM4_ID_GROUP;
alter table JBPM4_ID_MEMBERSHIP
add constraint FK_MEM_USER
foreign key (USER_)
references JBPM4_ID_USER;
create index IDX_JOBRETRIES on JBPM4_JOB (RETRIES_);
create index IDX_JOB_CFG on JBPM4_JOB (CFG_);
create index IDX_JOB_PRINST on JBPM4_JOB (PROCESSINSTANCE_);
create index IDX_JOB_EXE on JBPM4_JOB (EXECUTION_);
create index IDX_JOBLOCKEXP on JBPM4_JOB (LOCKEXPTIME_);
create index IDX_JOBDUEDATE on JBPM4_JOB (DUEDATE_);
alter table JBPM4_JOB
add constraint FK_JOB_CFG
foreign key (CFG_)
references JBPM4_LOB;
create index IDX_LOB_DEPLOYMENT on JBPM4_LOB (DEPLOYMENT_);
alter table JBPM4_LOB
add constraint FK_LOB_DEPLOYMENT
foreign key (DEPLOYMENT_)
references JBPM4_DEPLOYMENT;
create index IDX_PART_TASK on JBPM4_PARTICIPATION (TASK_);
alter table JBPM4_PARTICIPATION
add constraint FK_PART_SWIMLANE
foreign key (SWIMLANE_)
references JBPM4_SWIMLANE;
alter table JBPM4_PARTICIPATION
add constraint FK_PART_TASK
foreign key (TASK_)
references JBPM4_TASK;
create index IDX_SWIMLANE_EXEC on JBPM4_SWIMLANE (EXECUTION_);
alter table JBPM4_SWIMLANE
add constraint FK_SWIMLANE_EXEC
foreign key (EXECUTION_)
references JBPM4_EXECUTION;
create index IDX_TASK_SUPERTASK on JBPM4_TASK (SUPERTASK_);
alter table JBPM4_TASK
add constraint FK_TASK_SWIML
foreign key (SWIMLANE_)
references JBPM4_SWIMLANE;
alter table JBPM4_TASK
add constraint FK_TASK_SUPERTASK
foreign key (SUPERTASK_)
references JBPM4_TASK;
create index IDX_VAR_EXESYS on JBPM4_VARIABLE (EXESYS_);
create index IDX_VAR_TASK on JBPM4_VARIABLE (TASK_);
create index IDX_VAR_EXECUTION on JBPM4_VARIABLE (EXECUTION_);
create index IDX_VAR_LOB on JBPM4_VARIABLE (LOB_);
alter table JBPM4_VARIABLE
add constraint FK_VAR_LOB
foreign key (LOB_)
references JBPM4_LOB;
alter table JBPM4_VARIABLE
add constraint FK_VAR_EXECUTION
foreign key (EXECUTION_)
references JBPM4_EXECUTION;
alter table JBPM4_VARIABLE
add constraint FK_VAR_EXESYS
foreign key (EXESYS_)
references JBPM4_EXECUTION;
alter table JBPM4_VARIABLE
add constraint FK_VAR_TASK
foreign key (TASK_)
references JBPM4_TASK;
DBID_ number(19,0) not null,
NAME_ clob,
TIMESTAMP_ number(19,0),
STATE_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_DEPLOYPROP (
DBID_ number(19,0) not null,
DEPLOYMENT_ number(19,0),
OBJNAME_ varchar2(255 char),
KEY_ varchar2(255 char),
STRINGVAL_ varchar2(255 char),
LONGVAL_ number(19,0),
primary key (DBID_)
);
create table JBPM4_EXECUTION (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
ACTIVITYNAME_ varchar2(255 char),
PROCDEFID_ varchar2(255 char),
HASVARS_ number(1,0),
NAME_ varchar2(255 char),
KEY_ varchar2(255 char),
ID_ varchar2(255 char) unique,
STATE_ varchar2(255 char),
SUSPHISTSTATE_ varchar2(255 char),
PRIORITY_ number(10,0),
HISACTINST_ number(19,0),
PARENT_ number(19,0),
INSTANCE_ number(19,0),
SUPEREXEC_ number(19,0),
SUBPROCINST_ number(19,0),
PARENT_IDX_ number(10,0),
primary key (DBID_)
);
create table JBPM4_HIST_ACTINST (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
HPROCI_ number(19,0),
TYPE_ varchar2(255 char),
EXECUTION_ varchar2(255 char),
ACTIVITY_NAME_ varchar2(255 char),
START_ timestamp,
END_ timestamp,
DURATION_ number(19,0),
TRANSITION_ varchar2(255 char),
NEXTIDX_ number(10,0),
HTASK_ number(19,0),
primary key (DBID_)
);
create table JBPM4_HIST_DETAIL (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
USERID_ varchar2(255 char),
TIME_ timestamp,
HPROCI_ number(19,0),
HPROCIIDX_ number(10,0),
HACTI_ number(19,0),
HACTIIDX_ number(10,0),
HTASK_ number(19,0),
HTASKIDX_ number(10,0),
HVAR_ number(19,0),
HVARIDX_ number(10,0),
MESSAGE_ clob,
OLD_STR_ varchar2(255 char),
NEW_STR_ varchar2(255 char),
OLD_INT_ number(10,0),
NEW_INT_ number(10,0),
OLD_TIME_ timestamp,
NEW_TIME_ timestamp,
PARENT_ number(19,0),
PARENT_IDX_ number(10,0),
primary key (DBID_)
);
create table JBPM4_HIST_PROCINST (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
ID_ varchar2(255 char),
PROCDEFID_ varchar2(255 char),
KEY_ varchar2(255 char),
START_ timestamp,
END_ timestamp,
DURATION_ number(19,0),
STATE_ varchar2(255 char),
ENDACTIVITY_ varchar2(255 char),
NEXTIDX_ number(10,0),
primary key (DBID_)
);
create table JBPM4_HIST_TASK (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
EXECUTION_ varchar2(255 char),
OUTCOME_ varchar2(255 char),
ASSIGNEE_ varchar2(255 char),
PRIORITY_ number(10,0),
STATE_ varchar2(255 char),
CREATE_ timestamp,
END_ timestamp,
DURATION_ number(19,0),
NEXTIDX_ number(10,0),
SUPERTASK_ number(19,0),
primary key (DBID_)
);
create table JBPM4_HIST_VAR (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
PROCINSTID_ varchar2(255 char),
EXECUTIONID_ varchar2(255 char),
VARNAME_ varchar2(255 char),
VALUE_ varchar2(255 char),
HPROCI_ number(19,0),
HTASK_ number(19,0),
primary key (DBID_)
);
create table JBPM4_ID_GROUP (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
ID_ varchar2(255 char),
NAME_ varchar2(255 char),
TYPE_ varchar2(255 char),
PARENT_ number(19,0),
primary key (DBID_)
);
create table JBPM4_ID_MEMBERSHIP (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
USER_ number(19,0),
GROUP_ number(19,0),
NAME_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_ID_USER (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
ID_ varchar2(255 char),
PASSWORD_ varchar2(255 char),
GIVENNAME_ varchar2(255 char),
FAMILYNAME_ varchar2(255 char),
BUSINESSEMAIL_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_JOB (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
DUEDATE_ timestamp,
STATE_ varchar2(255 char),
ISEXCLUSIVE_ number(1,0),
LOCKOWNER_ varchar2(255 char),
LOCKEXPTIME_ timestamp,
EXCEPTION_ clob,
RETRIES_ number(10,0),
PROCESSINSTANCE_ number(19,0),
EXECUTION_ number(19,0),
CFG_ number(19,0),
SIGNAL_ varchar2(255 char),
EVENT_ varchar2(255 char),
REPEAT_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_LOB (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
BLOB_VALUE_ blob,
DEPLOYMENT_ number(19,0),
NAME_ clob,
primary key (DBID_)
);
create table JBPM4_PARTICIPATION (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
GROUPID_ varchar2(255 char),
USERID_ varchar2(255 char),
TYPE_ varchar2(255 char),
TASK_ number(19,0),
SWIMLANE_ number(19,0),
primary key (DBID_)
);
create table JBPM4_PROPERTY (
KEY_ varchar2(255 char) not null,
VERSION_ number(10,0) not null,
VALUE_ varchar2(255 char),
primary key (KEY_)
);
create table JBPM4_SWIMLANE (
DBID_ number(19,0) not null,
DBVERSION_ number(10,0) not null,
NAME_ varchar2(255 char),
ASSIGNEE_ varchar2(255 char),
EXECUTION_ number(19,0),
primary key (DBID_)
);
create table JBPM4_TASK (
DBID_ number(19,0) not null,
CLASS_ char(1 char) not null,
DBVERSION_ number(10,0) not null,
NAME_ varchar2(255 char),
DESCR_ clob,
STATE_ varchar2(255 char),
SUSPHISTSTATE_ varchar2(255 char),
ASSIGNEE_ varchar2(255 char),
FORM_ varchar2(255 char),
PRIORITY_ number(10,0),
CREATE_ timestamp,
DUEDATE_ timestamp,
PROGRESS_ number(10,0),
SIGNALLING_ number(1,0),
EXECUTION_ID_ varchar2(255 char),
ACTIVITY_NAME_ varchar2(255 char),
HASVARS_ number(1,0),
SUPERTASK_ number(19,0),
EXECUTION_ number(19,0),
PROCINST_ number(19,0),
SWIMLANE_ number(19,0),
TASKDEFNAME_ varchar2(255 char),
primary key (DBID_)
);
create table JBPM4_VARIABLE (
DBID_ number(19,0) not null,
CLASS_ varchar2(255 char) not null,
DBVERSION_ number(10,0) not null,
KEY_ varchar2(255 char),
CONVERTER_ varchar2(255 char),
HIST_ number(1,0),
EXECUTION_ number(19,0),
TASK_ number(19,0),
LOB_ number(19,0),
DATE_VALUE_ timestamp,
DOUBLE_VALUE_ double precision,
CLASSNAME_ varchar2(255 char),
LONG_VALUE_ number(19,0),
STRING_VALUE_ varchar2(255 char),
TEXT_VALUE_ clob,
EXESYS_ number(19,0),
primary key (DBID_)
);
create index IDX_DEPLPROP_DEPL on JBPM4_DEPLOYPROP (DEPLOYMENT_);
alter table JBPM4_DEPLOYPROP
add constraint FK_DEPLPROP_DEPL
foreign key (DEPLOYMENT_)
references JBPM4_DEPLOYMENT;
create index IDX_EXEC_SUPEREXEC on JBPM4_EXECUTION (SUPEREXEC_);
create index IDX_EXEC_INSTANCE on JBPM4_EXECUTION (INSTANCE_);
create index IDX_EXEC_SUBPI on JBPM4_EXECUTION (SUBPROCINST_);
create index IDX_EXEC_PARENT on JBPM4_EXECUTION (PARENT_);
alter table JBPM4_EXECUTION
add constraint FK_EXEC_PARENT
foreign key (PARENT_)
references JBPM4_EXECUTION;
alter table JBPM4_EXECUTION
add constraint FK_EXEC_SUBPI
foreign key (SUBPROCINST_)
references JBPM4_EXECUTION;
alter table JBPM4_EXECUTION
add constraint FK_EXEC_INSTANCE
foreign key (INSTANCE_)
references JBPM4_EXECUTION;
alter table JBPM4_EXECUTION
add constraint FK_EXEC_SUPEREXEC
foreign key (SUPEREXEC_)
references JBPM4_EXECUTION;
create index IDX_HACTI_HPROCI on JBPM4_HIST_ACTINST (HPROCI_);
create index IDX_HTI_HTASK on JBPM4_HIST_ACTINST (HTASK_);
alter table JBPM4_HIST_ACTINST
add constraint FK_HACTI_HPROCI
foreign key (HPROCI_)
references JBPM4_HIST_PROCINST;
alter table JBPM4_HIST_ACTINST
add constraint FK_HTI_HTASK
foreign key (HTASK_)
references JBPM4_HIST_TASK;
create index IDX_HDET_HACTI on JBPM4_HIST_DETAIL (HACTI_);
create index IDX_HDET_HPROCI on JBPM4_HIST_DETAIL (HPROCI_);
create index IDX_HDET_HVAR on JBPM4_HIST_DETAIL (HVAR_);
create index IDX_HDET_HTASK on JBPM4_HIST_DETAIL (HTASK_);
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HPROCI
foreign key (HPROCI_)
references JBPM4_HIST_PROCINST;
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HACTI
foreign key (HACTI_)
references JBPM4_HIST_ACTINST;
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HTASK
foreign key (HTASK_)
references JBPM4_HIST_TASK;
alter table JBPM4_HIST_DETAIL
add constraint FK_HDETAIL_HVAR
foreign key (HVAR_)
references JBPM4_HIST_VAR;
create index IDX_HSUPERT_SUB on JBPM4_HIST_TASK (SUPERTASK_);
alter table JBPM4_HIST_TASK
add constraint FK_HSUPERT_SUB
foreign key (SUPERTASK_)
references JBPM4_HIST_TASK;
create index IDX_HVAR_HPROCI on JBPM4_HIST_VAR (HPROCI_);
create index IDX_HVAR_HTASK on JBPM4_HIST_VAR (HTASK_);
alter table JBPM4_HIST_VAR
add constraint FK_HVAR_HPROCI
foreign key (HPROCI_)
references JBPM4_HIST_PROCINST;
alter table JBPM4_HIST_VAR
add constraint FK_HVAR_HTASK
foreign key (HTASK_)
references JBPM4_HIST_TASK;
create index IDX_GROUP_PARENT on JBPM4_ID_GROUP (PARENT_);
alter table JBPM4_ID_GROUP
add constraint FK_GROUP_PARENT
foreign key (PARENT_)
references JBPM4_ID_GROUP;
create index IDX_MEM_USER on JBPM4_ID_MEMBERSHIP (USER_);
create index IDX_MEM_GROUP on JBPM4_ID_MEMBERSHIP (GROUP_);
alter table JBPM4_ID_MEMBERSHIP
add constraint FK_MEM_GROUP
foreign key (GROUP_)
references JBPM4_ID_GROUP;
alter table JBPM4_ID_MEMBERSHIP
add constraint FK_MEM_USER
foreign key (USER_)
references JBPM4_ID_USER;
create index IDX_JOBRETRIES on JBPM4_JOB (RETRIES_);
create index IDX_JOB_CFG on JBPM4_JOB (CFG_);
create index IDX_JOB_PRINST on JBPM4_JOB (PROCESSINSTANCE_);
create index IDX_JOB_EXE on JBPM4_JOB (EXECUTION_);
create index IDX_JOBLOCKEXP on JBPM4_JOB (LOCKEXPTIME_);
create index IDX_JOBDUEDATE on JBPM4_JOB (DUEDATE_);
alter table JBPM4_JOB
add constraint FK_JOB_CFG
foreign key (CFG_)
references JBPM4_LOB;
create index IDX_LOB_DEPLOYMENT on JBPM4_LOB (DEPLOYMENT_);
alter table JBPM4_LOB
add constraint FK_LOB_DEPLOYMENT
foreign key (DEPLOYMENT_)
references JBPM4_DEPLOYMENT;
create index IDX_PART_TASK on JBPM4_PARTICIPATION (TASK_);
alter table JBPM4_PARTICIPATION
add constraint FK_PART_SWIMLANE
foreign key (SWIMLANE_)
references JBPM4_SWIMLANE;
alter table JBPM4_PARTICIPATION
add constraint FK_PART_TASK
foreign key (TASK_)
references JBPM4_TASK;
create index IDX_SWIMLANE_EXEC on JBPM4_SWIMLANE (EXECUTION_);
alter table JBPM4_SWIMLANE
add constraint FK_SWIMLANE_EXEC
foreign key (EXECUTION_)
references JBPM4_EXECUTION;
create index IDX_TASK_SUPERTASK on JBPM4_TASK (SUPERTASK_);
alter table JBPM4_TASK
add constraint FK_TASK_SWIML
foreign key (SWIMLANE_)
references JBPM4_SWIMLANE;
alter table JBPM4_TASK
add constraint FK_TASK_SUPERTASK
foreign key (SUPERTASK_)
references JBPM4_TASK;
create index IDX_VAR_EXESYS on JBPM4_VARIABLE (EXESYS_);
create index IDX_VAR_TASK on JBPM4_VARIABLE (TASK_);
create index IDX_VAR_EXECUTION on JBPM4_VARIABLE (EXECUTION_);
create index IDX_VAR_LOB on JBPM4_VARIABLE (LOB_);
alter table JBPM4_VARIABLE
add constraint FK_VAR_LOB
foreign key (LOB_)
references JBPM4_LOB;
alter table JBPM4_VARIABLE
add constraint FK_VAR_EXECUTION
foreign key (EXECUTION_)
references JBPM4_EXECUTION;
alter table JBPM4_VARIABLE
add constraint FK_VAR_EXESYS
foreign key (EXESYS_)
references JBPM4_EXECUTION;
alter table JBPM4_VARIABLE
add constraint FK_VAR_TASK
foreign key (TASK_)
references JBPM4_TASK;
发表评论
-
DB2设置字段默认当前时间
2014-03-18 15:14 1112alter table ISO_em_task alter c ... -
查看oracle数据库锁表用户
2013-09-08 15:38 787查询前,请先确认用户是否有dba权限。 SELECT l.se ... -
Oracle导入导出数据库
2012-12-24 19:09 760导出数据库:exp 用户名/密码@数据库名 file=盘符:/ ... -
oracle存储过程生成xml文件
2012-12-24 19:08 1721create or replace procedure tab ... -
Jdbc连接Postgresql数据库
2012-08-13 15:39 2155附件为所需jar文件。 package com.dao.ba ... -
求汉字拼音首字母的函数
2012-06-25 17:42 930create function fun_getPY(@str ... -
PostgresSql 中查询库中所有的表以及表中字段、主键、唯一、外键
2012-06-25 17:38 1996查询库中所有表 select relname as TABLE ... -
Oracle SQL中的IN 和 EXSITS区别总结
2011-05-25 08:48 1069IN 确定给定的值是否与子查询或列表中的值相匹配。 EX ...
相关推荐
《jBPM4.4开发指南》与《jBPM4.4中文用户手册》是深入理解jBPM4.4这一开源工作流管理系统的重要参考资料。jBPM,全称Java Business Process Management,是一个用于执行业务流程的轻量级、灵活的开源框架,它为业务...
5. **数据持久化**:jBPM 4.4支持多种数据库,如MySQL、Oracle和PostgreSQL,用于存储流程实例和历史记录,确保了数据的完整性和持久性。 6. **扩展性**:jBPM 4.4具有高度的可扩展性,允许开发者通过插件机制添加...
**jBPM4.4开发实例** jBPM(Java Business Process Management)是一个开源的工作流管理系统,用于管理和执行业务流程。jBPM4.4是该框架的一个版本,它提供了强大的工作流服务,包括流程定义、流程实例管理、任务...
jbpm4.4是JBoss企业级业务流程管理(Business Process Management)平台的一个重要版本,它为开发者提供了全面的工作流和业务流程管理解决方案。本文将深入解析jbpm4.4的相关知识点,帮助那些寻找优质学习资源的朋友...
JBPM4.4是一款强大的工作流管理系统,其数据表结构对于理解系统运行机制至关重要。本文将深入解析JBPM4.4中的主要数据表及其作用。 首先,`JBPM4_DEPLOYMENT`表是流程定义表,它存储了所有部署的流程模板的信息。...
1. **流程建模**: jbpm4.4使用BPMN(Business Process Model and Notation)2.0标准进行流程建模,这是一种图形化的方式,使得业务人员和开发者可以直观地理解并创建流程。BPMN符号包括活动、事件、网关、数据对象等...
jBPM 4.4 提供了图形化的流程建模工具,用户可以通过拖拽方式创建复杂的流程图。BPMN 2.0符号包括开始事件、结束事件、任务、网关、事件和泳道等,使得流程设计直观且易于理解。此外,它还支持自定义扩展和业务规则...
jbpm4.4 DB2数据库脚本,可直接执行sql脚本,创建jbpm4.4 数据库表
JBPM4.4是JBPM的其中一个稳定版本,发布于2009年,它提供了强大的工作流服务,包括流程定义、流程实例管理、任务管理和监控等功能。在JBPM4.4版本中,开发者可以利用其提供的API和工具来设计、部署和执行复杂的业务...
- jBPM4.4 共有 18 张表,这些表用于存储流程定义、实例状态等数据。 **3. jBPM4.4环境准备** - **所需环境**:jBPM 需要 JDK (Java Development Kit) 5 或更高版本;Apache Ant 1.7.0 或更高版本。 - **下载资源*...
jBPM4.4数据库表简单介绍
在实际运行时,"两张表的sql要设置下"可能指的是需要对jbpm4.4的数据库配置进行调整。jbpm在初始化时会创建一些核心的系统表,用于存储流程定义、实例、任务等信息。因此,用户需要确保数据库中已创建了这些表,或者...
jbpm4.4 schema.xsd jbpm4.4 schema.xsd jbpm4.4 schema.xsd jbpm4.4 schema.xsd jbpm4.4 schema.xsd
jbpm4.4 shh2 项目示例是基于jbpm4.4版本与SSH2(Struts2、Spring和Hibernate)集成的一个实战项目。jbPM(Business Process Management)是一款开源的工作流管理系统,用于实现业务流程自动化。SSH2是Java开发中的...
jBPM4.4版本特别之处在于其底层依赖于Active Diagram模型,并且采用了Hibernate 3.3.1,这使得它能够良好地兼容主流数据库,同时,整个版本共涉及18张数据表,展现了其强大的数据处理能力。 #### 三、搭建jBPM4.4...
"jBPM4.4.docx" 文件可能是关于 jbPM 4.4 示例的详细文档,它可能包含如何安装、配置、创建和运行流程实例的步骤,以及可能遇到的问题和解决办法,对于学习和使用 jbPM 4.4 是非常有价值的参考资料。 总结,jbPM ...
以下是关于JBPM4.4中涉及到的一些核心表及其字段的详细说明: 1. **JBPM4_DEPLOYMENT** 表: - **DBID**: 流程模版的唯一标识,非空。 - **NAME**: 流程模版的名称,可以为空。 - **TIMESTAMP**: 记录创建或更新...
JBPM4.4与SSH2之整合(附完整源码) 这些天,想着把jbpm4.4与ssh2整合一下,由于之前从来没用过jbpm,也不知道各版本之间会有什么差异(经过网上的收集对比,还真有些差异),整合起来,还真是有些步履艰难。收集了...
- 项目启动前运行SQL文件,用于在数据库中创建18张表,这些表是JBPM4.4引擎运行所必需的,包括流程实例表、任务表、变量表等,它们记录了流程执行过程中的各种状态和数据。 6. **学习资料** - 随附的学习资料可能...