camunda_15_oracle
按照Camunda官方文檔, 生產(chǎn)環(huán)境優(yōu)先推薦Oracle 和 Postgresql, 當(dāng)然MySQL和SQL Server也是支持的.
官方參考架構(gòu)文檔
前面博文已經(jīng)介紹了使用Postgresql作為數(shù)據(jù)庫(kù), camunda_13_postgresql - harrychinese - 博客園
這里僅僅記錄一下Oracle作為后臺(tái)數(shù)據(jù)庫(kù)的差異, 對(duì)于oracle 11c以及以下版本, 最重要是要設(shè)置 jdbc-batch-processing 為 false, 12c以上版本可以設(shè)置成默認(rèn)的true.
修改 camunda 配置文件
生產(chǎn)環(huán)境應(yīng)該參考 production.yml 進(jìn)行設(shè)置. camunda 提供很多可配置項(xiàng), 可參考官網(wǎng), 配置屬性
我是直接修改的 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
啟動(dòng)服務(wù)
啟動(dòng)完成后,登錄http://localhost:8080/, 輸入demo/demo賬號(hào)登錄.

浙公網(wǎng)安備 33010602011771號(hào)