camunda_15_oracle

按照Camunda官方文档, 生产环境优先推荐Oracle 和 Postgresql, 当然MySQL和SQL Server也是支持的.
官方参考架构文档

前面博文已经介绍了使用Postgresql作为数据库, camunda_13_postgresql - harrychinese - 博客园
这里仅仅记录一下Oracle作为后台数据库的差异, 对于oracle 11c以及以下版本, 最重要是要设置 jdbc-batch-processing 为 false, 12c以上版本可以设置成默认的true.

修改 camunda 配置文件

生产环境应该参考 production.yml 进行设置. camunda 提供很多可配置项, 可参考官网, 配置属性
我是直接修改的 default.yml 文件,

spring.datasource:
    url: jdbc:oracle:thin:@localhost:1521:xe
    driver-class-name: oracle.jdbc.OracleDriver
    username: test
    password: saas

logging:
    level.root: INFO
    file.name: logs/camunda-bpm-run.log    
   
camunda.bpm:        
    history-level: FULL
    history-level-default: FULL
              
    database:
        schema-update: true
        type: oracle
        jdbc-batch-processing: false   

启动服务

启动完成后,登录http://localhost:8080/, 输入demo/demo账号登录.

posted @ 2022-10-09 11:01  harrychinese  阅读(211)  评论(0编辑  收藏  举报