activiti6创建28张表
生活随笔
收集整理的這篇文章主要介紹了
activiti6创建28张表
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
導(dǎo)入測(cè)試依賴
<!-- 測(cè)試 --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId></dependency>代碼創(chuàng)建28張表
@Testpublic void createTable() {// 引擎配置ProcessEngineConfiguration pec = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration();pec.setJdbcDriver("com.mysql.jdbc.Driver");pec.setJdbcUrl("jdbc:mysql://localhost/test?useSSL=false&useUnicode=true&characterEncoding=UTF8&serverTimezone=UTC");pec.setJdbcUsername("root");pec.setJdbcPassword("root");pec.setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE);// 獲取流程引擎對(duì)象ProcessEngine processEngine = pec.buildProcessEngine();}?創(chuàng)建成功!
?
?
?
總結(jié)
以上是生活随笔為你收集整理的activiti6创建28张表的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: python进阶例题
- 下一篇: C语言,字符串指针做函数参数