首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

工作流Activiti的学习小结(二)activiti中ProcessEngine的创建和数据库表命名规则

2012-08-30 
工作流Activiti的学习总结(二)activiti中ProcessEngine的创建和数据库表命名规则? .buildProcessEngine()

工作流Activiti的学习总结(二)activiti中ProcessEngine的创建和数据库表命名规则

? .buildProcessEngine();

?

org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration: 在独立方式运行的流程引擎使用。 Activiti需要使用事务对象。默认的情况下,在引擎启动的时候检查数据库将检查activiti的是否有schema和schema的版本是否正确. org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration:

this is a convience class for unit testing purposes. Activiti will take care of the transactions. An H2 in-memory database is used by default. The database will be created and dropped when the engine boots and shuts down. When using this, probably no additional configuration is needed (except when using for example the job executor or mail capabilities). ( 测试环境中使用)

?

org.activiti.spring.SpringProcessEngineConfiguration:

? To be used when the process engine is used in a Spring environment. See the Spring integration section for more information. (Spring环境中使用)

?

org.activiti.engine.impl.cfg.JtaProcessEngineConfiguration:

???? ([EXPERIMENTAL]) to be used when the engine runs in standalone mode, with JTA transactions.(JPA环境中使用)

热点排行