activiti6创建28张表
生活随笔
收集整理的這篇文章主要介紹了
activiti6创建28张表
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
導入測試依賴
<!-- 測試 --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId></dependency>代碼創建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);// 獲取流程引擎對象ProcessEngine processEngine = pec.buildProcessEngine();}?創建成功!
?
?
?
總結
以上是生活随笔為你收集整理的activiti6创建28张表的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python进阶例题
- 下一篇: C语言,字符串指针做函数参数