activiti学习笔记2--20170323--数据表名称解释
2017-03-23 22:08
316 查看
一、官方文档解释
The database names of Activiti all start with ACT_. The second part is a two-character identification of the use case of the table. This use case will also roughly match the service API.ACT_RE_*: RE stands for
repository.
Tables with this prefix contain static information such as process definitions and process resources (images, rules, etc.).
ACT_RU_*: RU stands for
runtime.
These are the runtime tables that contain the runtime data of process instances, user tasks, variables, jobs, etc. Activiti only stores the runtime data during process instance execution, and removes the records when a process instance ends. This keeps the
runtime tables small and fast.
ACT_ID_*: ID stands for
identity.
These tables contain identity information, such as users, groups, etc.
ACT_HI_*: HI stands for
history.
These are the tables that contain historic data, such as past process instances, variables, tasks, etc.
ACT_GE_*:
generaldata,
which is used in various use cases.
二、个人理解
activiti的所有数据表名称都以“ACT_”开头, 第二部分是两个字符, 这两个字符代表该数据表的使用场景(用途)。第二部分的两个字符, 大致也可匹配到我们要使用的service的API。ACT_RE_*:’RE’表示repository(存储),RepositoryService接口所操作的表。带此前缀的表包含的是静态信息,如,流程定义,流程的资源(图片,规则等)。
ACT_RU_*:‘RU’表示runtime,运行时表-RuntimeService。这是运行时的表存储着流程变量,用户任务,变量,职责(job)等运行时的数据。Activiti只存储实例执行期间的运行时数据,当流程实例结束时,将删除这些记录。这就保证了这些运行时的表小且快。
ACT_ID_*:’ID’表示identity
(组织机构),IdentityService接口所操作的表。用户记录,流程中使用到的用户和组。这些表包含标识的信息,如用户,用户组,等等。
ACT_HI_*:’HI’表示history,历史数据表,HistoryService。就是这些表包含着流程执行的历史相关数据,如结束的流程实例,变量,任务,等等
ACT_GE_*:全局通用数据及设置(general),各种情况都使用的数据。
相关文章推荐
- activiti学习笔记1---20170323
- 【opencv学习笔记三】opencv3.4.0数据类型解释
- J2EE设计模式学习笔记之--实际的数据存取
- Gentle.Net学习笔记三:常用更新数据的方法总结
- .net学习笔记数据绑定20060524
- Java开发学习笔记之三:HTTP客户请求数据格式
- MyGeneration学习笔记(8) :dOOdad提供的数据绑定、特殊函数和事务处理
- IssueVision 学习笔记(一)-----使用SoapHeader传递Web Serivices自定义的身份验证数据
- Asp.Net自学笔记...(数据类型和数据转换)---学习的开始
- 学习altas笔记[客户端JS和Altas环境初始化关系和DataTable返回数据的客户端处理]
- 学习altas笔记[客户端JS和Altas环境初始化关系和DataTable返回数据的客户端处理]
- DirectSound学习笔记(5):使用WAV数据
- [学习笔记][ASP.NET2.0][GridView][在按钮事件中访问GridView中当前行数据]
- C# 学习笔记 -- 第三天 申明和使用数据
- [学习笔记]ASP.NET需注意数据对象的释放
- [BizTalk][Adapter][部署]BTS学习笔记1:建立一个简单的Biztalk数据交换项目(一)
- C++ primer 数据类型的学习笔记
- [学习笔记][asp.net下SQL语句无法向ACCESS数据库插入数据的小提示
- ASP.net(1.1)原理学习笔记--第七章 数据绑定Data Binding
- [ASP.NET学习笔记之十四]ASP.NET 2.0 数据绑定