# flowable-db-helper **Repository Path**: phcsea/flowable-db-helper ## Basic Information - **Project Name**: flowable-db-helper - **Description**: flowable适配国产化数据库插件,如达梦、金仓数据库适配。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-05-02 - **Last Updated**: 2025-05-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README - **基于springboot插件开发,目前已适配达梦8,金仓8,其他国产数据库有需要再做适配。** - 目前适配flowable两个版本分别是6.5.0和6.7.0,使用者需要拉取相应的版本。 - DbHelperConfiguration:为自动扫描关键类,不能删除 - DefaultEngineConfiguration:流程引擎二次配置类,及适配国产数据库类型注册 - DefaultLiquibase:liquibase适配flowable自动生成ACT_DE相关表,通过liquibase.act-de.enable=false配置关闭 - net.zhongfu.flowable.helper.database:国产数据库类型元数据对象实例。 - net.zhongfu.flowable.helper.dataType:数据类型对象实例。 - LINK是达梦数据库关键字,这里重写Task.xml文件,使用ID_LINK替换LINK作为别名,文件路径为:src\main\java\org\flowable\task\service\db\mapping\entity\Task.xml - 目前支持Flowable流程引擎为SpringProcessEngineConfiguration配置方式,该方式是使用最多的引擎方式,若有需要使用其他方式,可以参照DefaultEngineConfiguration实现。 - 若开启spring.liquibase.enabled=true配置,需要自定义classpath:/db/changelog/db.changelog-master.yaml文件,否则会报错该文件不存在。 使用方式 引用该插件时需要把以下引用配置放在flowable引用插件前面,否则重写源码部分无法被使用。 ```xml net.zhongfu flowable-db-helper 6.5.0 ```