设为首页 收藏本站
查看: 1881|回复: 0

[经验分享] Activiti添加数据库表注释(oracle)

[复制链接]

尚未签到

发表于 2016-8-6 06:42:12 | 显示全部楼层 |阅读模式
  Activiti添加数据库表注释(oracle)

-- Add comments to the table
comment on table ACT_GE_BYTEARRAY
is '二进制数据表';
-- Add comments to the columns
comment on column ACT_GE_BYTEARRAY.id_
is '主键ID';
comment on column ACT_GE_BYTEARRAY.rev_
is 'Version(版本)';
comment on column ACT_GE_BYTEARRAY.name_
is '部署的文件名称,如:mail.bpmn、mail.png 、mail.bpmn20.xml';
comment on column ACT_GE_BYTEARRAY.deployment_id_
is '部署表ID';
comment on column ACT_GE_BYTEARRAY.bytes_
is '部署文件';
comment on column ACT_GE_BYTEARRAY.generated_
is '0为用户生成 1为Activiti生成';
-- Add comments to the table
comment on table ACT_GE_PROPERTY
is '属性数据表';
-- Add comments to the columns
comment on column ACT_GE_PROPERTY.name_
is 'schema.version
schema.history
next.dbid';
comment on column ACT_GE_PROPERTY.value_
is '5.*
create(5.*)';
comment on column ACT_GE_PROPERTY.rev_
is 'version';
-- Add comments to the table
comment on table ACT_HI_ACTINST
is '历史节点表';
-- Add comments to the columns
comment on column ACT_HI_ACTINST.proc_def_id_
is '流程定义ID';
comment on column ACT_HI_ACTINST.proc_inst_id_
is '流程实例ID';
comment on column ACT_HI_ACTINST.execution_id_
is '执行实例ID';
comment on column ACT_HI_ACTINST.act_id_
is '节点ID';
comment on column ACT_HI_ACTINST.task_id_
is '任务实例ID';
comment on column ACT_HI_ACTINST.call_proc_inst_id_
is '调用外部的流程实例ID';
comment on column ACT_HI_ACTINST.act_name_
is '节点名称';
comment on column ACT_HI_ACTINST.act_type_
is '节点类型';
comment on column ACT_HI_ACTINST.assignee_
is '签收人';
comment on column ACT_HI_ACTINST.start_time_
is '开始时间';
comment on column ACT_HI_ACTINST.end_time_
is '结束时间';
comment on column ACT_HI_ACTINST.duration_
is '耗时';

-- Add comments to the table
comment on table ACT_HI_ATTACHMENT
is '历史附件表';
-- Add comments to the columns
comment on column ACT_HI_ATTACHMENT.user_id_
is '用户ID';
comment on column ACT_HI_ATTACHMENT.name_
is '名称';
comment on column ACT_HI_ATTACHMENT.description_
is '描述';
comment on column ACT_HI_ATTACHMENT.type_
is '类型';
comment on column ACT_HI_ATTACHMENT.task_id_
is '任务实例ID';
comment on column ACT_HI_ATTACHMENT.proc_inst_id_
is '流程实例ID';
comment on column ACT_HI_ATTACHMENT.content_id_
is '字节表的ID';
-- Add comments to the table
comment on table ACT_HI_COMMENT
is '历史意见表';
-- Add comments to the columns
comment on column ACT_HI_COMMENT.type_
is '类型';
comment on column ACT_HI_COMMENT.time_
is '填写时间';
comment on column ACT_HI_COMMENT.user_id_
is '填写人';
comment on column ACT_HI_COMMENT.task_id_
is '节点实例ID';
comment on column ACT_HI_COMMENT.proc_inst_id_
is '流程实例ID';
comment on column ACT_HI_COMMENT.action_
is '行为类型';
comment on column ACT_HI_COMMENT.message_
is '用于存放流程产生的信息,比如审批意见';
comment on column ACT_HI_COMMENT.full_msg_
is '全部内容';
-- Add comments to the table
comment on table ACT_HI_DETAIL
is '历史详情表';
-- Add comments to the columns
comment on column ACT_HI_DETAIL.type_
is '类型';
comment on column ACT_HI_DETAIL.proc_inst_id_
is '流程实例ID';
comment on column ACT_HI_DETAIL.execution_id_
is '执行实例ID';
comment on column ACT_HI_DETAIL.task_id_
is '任务实例ID';
comment on column ACT_HI_DETAIL.act_inst_id_
is '节点实例ID';
comment on column ACT_HI_DETAIL.name_
is '节点名称';
comment on column ACT_HI_DETAIL.var_type_
is '参数类型';
comment on column ACT_HI_DETAIL.rev_
is '乐观锁';
comment on column ACT_HI_DETAIL.time_
is '时间戳';
comment on column ACT_HI_DETAIL.bytearray_id_
is '字节表ID ACT_GE_BYTEARRAY表的ID';
comment on column ACT_HI_DETAIL.double_
is '存储变量类型为Double';
comment on column ACT_HI_DETAIL.long_
is '存储变量类型为long';
comment on column ACT_HI_DETAIL.text_
is '存储变量值类型为String';
comment on column ACT_HI_DETAIL.text2_
is '此处存储的是JPA持久化对象时,才会有值。此值为对象ID';
-- Add comments to the table
comment on table ACT_HI_IDENTITYLINK
is '历史流程人员表';
-- Add comments to the columns
comment on column ACT_HI_IDENTITYLINK.group_id_
is '组ID';
comment on column ACT_HI_IDENTITYLINK.type_
is '类型';
comment on column ACT_HI_IDENTITYLINK.user_id_
is '用户ID';
comment on column ACT_HI_IDENTITYLINK.task_id_
is '节点实例ID';
comment on column ACT_HI_IDENTITYLINK.proc_inst_id_
is '流程实例ID';
-- Add comments to the table
comment on table ACT_HI_PROCINST
is '历史流程实例表';
-- Add comments to the columns
comment on column ACT_HI_PROCINST.proc_inst_id_
is '流程实例ID';
comment on column ACT_HI_PROCINST.business_key_
is '业务主键';
comment on column ACT_HI_PROCINST.proc_def_id_
is '流程定义ID';
comment on column ACT_HI_PROCINST.start_time_
is '开始时间';
comment on column ACT_HI_PROCINST.end_time_
is '结束时间';
comment on column ACT_HI_PROCINST.duration_
is '耗时';
comment on column ACT_HI_PROCINST.start_user_id_
is '起草人';
comment on column ACT_HI_PROCINST.start_act_id_
is '开始节点ID';
comment on column ACT_HI_PROCINST.end_act_id_
is '结束节点ID';
comment on column ACT_HI_PROCINST.super_process_instance_id_
is '父流程实例ID';
comment on column ACT_HI_PROCINST.delete_reason_
is '删除原因';
-- Add comments to the table
comment on table ACT_HI_TASKINST
is '历史任务实例表';
-- Add comments to the columns
comment on column ACT_HI_TASKINST.proc_def_id_
is '流程定义ID';
comment on column ACT_HI_TASKINST.task_def_key_
is '节点定义ID';
comment on column ACT_HI_TASKINST.proc_inst_id_
is '流程实例ID';
comment on column ACT_HI_TASKINST.execution_id_
is '执行实例ID';
comment on column ACT_HI_TASKINST.parent_task_id_
is '节点名称';
comment on column ACT_HI_TASKINST.name_
is '父节点实例ID';
comment on column ACT_HI_TASKINST.description_
is '描述';
comment on column ACT_HI_TASKINST.owner_
is '实际签收人 任务的拥有者';
comment on column ACT_HI_TASKINST.assignee_
is '签收人或被委托';
comment on column ACT_HI_TASKINST.start_time_
is '开始时间';
comment on column ACT_HI_TASKINST.claim_time_
is '提醒时间';
comment on column ACT_HI_TASKINST.end_time_
is '结束时间';
comment on column ACT_HI_TASKINST.duration_
is '耗时';
comment on column ACT_HI_TASKINST.delete_reason_
is '删除原因';
comment on column ACT_HI_TASKINST.priority_
is '优先级别';
comment on column ACT_HI_TASKINST.due_date_
is '过期时间';
comment on column ACT_HI_TASKINST.form_key_
is '节点定义的
formkey';
-- Add comments to the table
comment on table ACT_HI_VARINST
is '历史变量表';
-- Add comments to the columns
comment on column ACT_HI_VARINST.proc_inst_id_
is '流程实例ID';
comment on column ACT_HI_VARINST.execution_id_
is '执行实例ID';
comment on column ACT_HI_VARINST.task_id_
is '任务实例ID';
comment on column ACT_HI_VARINST.name_
is '节点名称';
comment on column ACT_HI_VARINST.var_type_
is '参数类型';
comment on column ACT_HI_VARINST.rev_
is '乐观锁';
comment on column ACT_HI_VARINST.bytearray_id_
is '字节表ID ACT_GE_BYTEARRAY表的主键';
comment on column ACT_HI_VARINST.double_
is '存储DoubleType类型的数据';
comment on column ACT_HI_VARINST.long_
is '存储LongType类型的数据';
comment on column ACT_HI_VARINST.text2_
is '此处存储的是JPA持久化对象时,才会有值。此值为对象ID';
-- Add comments to the table
comment on table ACT_ID_GROUP
is '用户组信息表';
-- Add comments to the columns
comment on column ACT_ID_GROUP.rev_
is '乐观锁';
comment on column ACT_ID_GROUP.name_
is '节点名称';
comment on column ACT_ID_GROUP.type_
is '节点类型';

-- Add comments to the table
comment on table ACT_ID_INFO
is '用户扩展信息表';
-- Add comments to the columns
comment on column ACT_ID_INFO.rev_
is '乐观锁';
comment on column ACT_ID_INFO.user_id_
is '用户ID';
comment on column ACT_ID_INFO.type_
is '节点类型';

-- Add comments to the table
comment on table ACT_ID_MEMBERSHIP
is '用户与分组对应信息表';
-- Add comments to the columns
comment on column ACT_ID_MEMBERSHIP.user_id_
is '用户ID';
comment on column ACT_ID_MEMBERSHIP.group_id_
is '用户组ID';

-- Add comments to the table
comment on table ACT_ID_USER
is '用户信息表';
-- Add comments to the columns
comment on column ACT_ID_USER.rev_
is '乐观锁';
comment on column ACT_ID_USER.first_
is '姓';
comment on column ACT_ID_USER.last_
is '名';
comment on column ACT_ID_USER.email_
is 'EMAIL_';
comment on column ACT_ID_USER.pwd_
is '密码';
comment on column ACT_ID_USER.picture_id_
is '图片ID';

-- Add comments to the table
comment on table ACT_RE_DEPLOYMENT
is '部署信息表';
-- Add comments to the columns
comment on column ACT_RE_DEPLOYMENT.name_
is '部署名称';
comment on column ACT_RE_DEPLOYMENT.category_
is '分类';
comment on column ACT_RE_DEPLOYMENT.deploy_time_
is '部署时间';

-- Add comments to the table
comment on table ACT_RE_MODEL
is '流程设计模型部署表';
-- Add comments to the columns
comment on column ACT_RE_MODEL.rev_
is '乐观锁';
comment on column ACT_RE_MODEL.name_
is '名称';
comment on column ACT_RE_MODEL.key_
is 'KEY_';
comment on column ACT_RE_MODEL.category_
is '分类';
comment on column ACT_RE_MODEL.create_time_
is '创建时间';
comment on column ACT_RE_MODEL.last_update_time_
is '最新修改时间';
comment on column ACT_RE_MODEL.version_
is '版本';
comment on column ACT_RE_MODEL.meta_info_
is '以json格式保存流程定义的信息';
comment on column ACT_RE_MODEL.deployment_id_
is '部署ID';

-- Add comments to the table
comment on table ACT_RE_PROCDEF
is '流程定义数据表';
-- Add comments to the columns
comment on column ACT_RE_PROCDEF.rev_
is '乐观锁';
comment on column ACT_RE_PROCDEF.category_
is '分类';
comment on column ACT_RE_PROCDEF.name_
is '名称';
comment on column ACT_RE_PROCDEF.key_
is '定义的KEY';
comment on column ACT_RE_PROCDEF.version_
is '版本';
comment on column ACT_RE_PROCDEF.deployment_id_
is '部署表ID';
comment on column ACT_RE_PROCDEF.resource_name_
is 'bpmn文件名称';
comment on column ACT_RE_PROCDEF.dgrm_resource_name_
is 'png图片名称';
comment on column ACT_RE_PROCDEF.description_
is '描述';
comment on column ACT_RE_PROCDEF.has_start_form_key_
is '是否存在开始节点formKey';
comment on column ACT_RE_PROCDEF.suspension_state_
is '是否挂起 1 激活 2挂起';

-- Add comments to the columns
comment on column ACT_RU_EVENT_SUBSCR.rev_
is '版本';
comment on column ACT_RU_EVENT_SUBSCR.event_type_
is '事件类型';
comment on column ACT_RU_EVENT_SUBSCR.event_name_
is '事件名称';
comment on column ACT_RU_EVENT_SUBSCR.execution_id_
is '执行实例ID';
comment on column ACT_RU_EVENT_SUBSCR.proc_inst_id_
is '流程实例ID';
comment on column ACT_RU_EVENT_SUBSCR.activity_id_
is '活动实例ID';
comment on column ACT_RU_EVENT_SUBSCR.configuration_
is '配置';
comment on column ACT_RU_EVENT_SUBSCR.created_
is '是否创建';
comment on column ACT_RU_EVENT_SUBSCR.proc_def_id_
is '流程定义ID';

-- Add comments to the table
comment on table ACT_RU_EXECUTION
is '运行时流程执行实例表';
-- Add comments to the columns
comment on column ACT_RU_EXECUTION.rev_
is '乐观锁';
comment on column ACT_RU_EXECUTION.proc_inst_id_
is '流程实例ID';
comment on column ACT_RU_EXECUTION.business_key_
is '业务主键ID';
comment on column ACT_RU_EXECUTION.parent_id_
is '父节点实例ID';
comment on column ACT_RU_EXECUTION.proc_def_id_
is '流程定义ID';
comment on column ACT_RU_EXECUTION.super_exec_
is 'SUPER_EXEC_';
comment on column ACT_RU_EXECUTION.act_id_
is '节点实例ID';
comment on column ACT_RU_EXECUTION.is_active_
is '是否激活';
comment on column ACT_RU_EXECUTION.is_concurrent_
is '是否并行';
comment on column ACT_RU_EXECUTION.suspension_state_
is '是否挂起';
-- Add comments to the table
comment on table ACT_RU_IDENTITYLINK
is '运行时流程人员表';
-- Add comments to the columns
comment on column ACT_RU_IDENTITYLINK.rev_
is '乐观锁';
comment on column ACT_RU_IDENTITYLINK.group_id_
is '组ID';
comment on column ACT_RU_IDENTITYLINK.type_
is '类型';
comment on column ACT_RU_IDENTITYLINK.user_id_
is '用户ID';
comment on column ACT_RU_IDENTITYLINK.task_id_
is '节点实例ID';
comment on column ACT_RU_IDENTITYLINK.proc_inst_id_
is '流程实例ID';
comment on column ACT_RU_IDENTITYLINK.proc_def_id_
is '流程定义ID';
-- Add comments to the table
comment on table ACT_RU_JOB
is '运行时定时任务数据表';
-- Add comments to the columns
comment on column ACT_RU_JOB.rev_
is '版本';
comment on column ACT_RU_JOB.type_
is '类型';
comment on column ACT_RU_JOB.lock_exp_time_
is '锁定释放时间';
comment on column ACT_RU_JOB.lock_owner_
is '挂起者';
comment on column ACT_RU_JOB.execution_id_
is '执行实例ID';
comment on column ACT_RU_JOB.process_instance_id_
is '流程实例ID';
comment on column ACT_RU_JOB.proc_def_id_
is '流程定义ID';
comment on column ACT_RU_JOB.exception_stack_id_
is '异常信息ID';
comment on column ACT_RU_JOB.exception_msg_
is '异常信息';
comment on column ACT_RU_JOB.duedate_
is '到期时间';
comment on column ACT_RU_JOB.repeat_
is '重复';
comment on column ACT_RU_JOB.handler_type_
is '处理类型';
comment on column ACT_RU_JOB.handler_cfg_
is '标识';

-- Add comments to the table
comment on table ACT_RU_TASK
is '运行时任务节点表';
-- Add comments to the columns
comment on column ACT_RU_TASK.rev_
is '乐观锁';
comment on column ACT_RU_TASK.execution_id_
is '执行实例ID';
comment on column ACT_RU_TASK.proc_inst_id_
is '流程实例ID';
comment on column ACT_RU_TASK.proc_def_id_
is '流程定义ID';
comment on column ACT_RU_TASK.name_
is '节点定义名称';
comment on column ACT_RU_TASK.parent_task_id_
is '父节点实例ID';
comment on column ACT_RU_TASK.description_
is '节点定义描述';
comment on column ACT_RU_TASK.task_def_key_
is '节点定义的KEY';
comment on column ACT_RU_TASK.owner_
is '拥有者(一般情况下为空,只有在委托时才有值)';
comment on column ACT_RU_TASK.assignee_
is '签收人或委托人';
comment on column ACT_RU_TASK.delegation_
is '委托类型';
comment on column ACT_RU_TASK.priority_
is '优先级别';
comment on column ACT_RU_TASK.create_time_
is '创建时间';
comment on column ACT_RU_TASK.due_date_
is '过期时间';
comment on column ACT_RU_TASK.suspension_state_
is '是否挂起 1代表激活 2代表挂起';
-- Add comments to the table
comment on table ACT_RU_VARIABLE
is '运行时流程变量数据表';
-- Add comments to the columns
comment on column ACT_RU_VARIABLE.rev_
is '乐观锁';
comment on column ACT_RU_VARIABLE.type_
is '类型';
comment on column ACT_RU_VARIABLE.name_
is '名称';
comment on column ACT_RU_VARIABLE.execution_id_
is '执行实例ID';
comment on column ACT_RU_VARIABLE.proc_inst_id_
is '流程实例ID';
comment on column ACT_RU_VARIABLE.task_id_
is '节点实例ID';
comment on column ACT_RU_VARIABLE.bytearray_id_
is '字节表ID';

  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-253493-1-1.html 上篇帖子: oracle 11g PL/SQL Programming学习七 下篇帖子: 在hibernate中实现oracle的自动增长(转)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表