jbpm5.4 部分数据表 来源!

1.NodeInstanceLog

create table NodeInstanceLog (

        id number(19,0) not null,

        log_date date,

        nodeId varchar2(255),

        nodeInstanceId varchar2(255),

        nodeName varchar2(255),

        processId varchar2(255),

        processInstanceId number(19,0) not null,

        type number(10,0) not null,

        primary key (id)

);

目录:jbpm-5.4.0.Final-src\jbpm-bam\src\main\java\org\jbpm\process\audit

NodeInstanceLog.java文件:

2. EventTypes ProcessInstanceInfo ;

 

create table EventTypes (

        InstanceId number(19,0) not null,

        element varchar2(255)

);

 

create table ProcessInstanceInfo (

        InstanceId number(19,0) not null,

        OPTLOCK number(10,0),

        processId varchar2(255),

        startDate date,

        lastReadDate date,

        lastModificationDate date,

        state number(10,0) not null,

        processInstanceByteArray blob,

        primary key (InstanceId)

    );

目录:jbpm-5.4.0.Final-src\jbpm-persistence-jpa\src\main\resources\META-INF

ProcessInstanceInfo.hbm.xml

3.ProcessInstanceLog

 create table ProcessInstanceLog (

        id number(19,0) not null,

        end_date date,

        outcome varchar2(255),

        parentProcessInstanceId number(19,0),

        processId varchar2(255),

        processInstanceId number(19,0) not null,

        start_date date,

        status number(10,0),

        primary key (id)

);

目录:jbpm-5.4.0.Final-src\jbpm-bam\src\main\java\org\jbpm\process\audit

ProcessInstanceLog.java

 

4.VariableInstanceLog

 create table VariableInstanceLog (

        id number(19,0) not null,

        log_date date,

        processId varchar2(255),

        processInstanceId number(19,0) not null,

        value varchar2(255),

        variableId varchar2(255),

        variableInstanceId varchar2(255),

        primary key (id)

    );

   目录:jbpm-5.4.0.Final-src\jbpm-bam\src\main\java\org\jbpm\process\audit

VariableInstanceLog.java

 

5.SessionInfoWorkItemInfo 

create table SessionInfo (

        id number(10,0) not null,

        lastModificationDate date,

        rulesByteArray blob,

        startDate date,

        OPTLOCK number(10,0),

        primary key (id)

);

create table WorkItemInfo (

        workItemId number(19,0) not null,

        creationDate date,

        name varchar2(255),

        processInstanceId number(19,0) not null,

        state number(19,0) not null,

        OPTLOCK number(10,0),

        workItemByteArray blob,

        primary key (workItemId)

    );

目录:org.drools.persistence.info.SessionInfo org.drools.persistence.info.WorkItemInfo