Skip to content

人大金仓数据库适配

流程管理工程配置修改

修改流程管理工程 processAdmin 配置文件

项目工程目录:risenet-y9boot-webapp-processadmin/src/resources/application.yml

修改数据源连接池配置

yaml
spring:
    datasource:
        druid:
            filter:
                wall:
                    #关闭Druid防御SQL注入攻击的WallFilter,不然无法操作数据库
                    enabled: false  
            y9-public:
                #修改为kingbase驱动类名称
                driver-class-name: com.kingbase8.Driver 
                #修改为kingbase连接池url
                url: jdbc:kingbase8://localhost:54321/y9_public?currentSchema=public  
                #修改为在kingbase默认的超级用户
                username: system
                #修改为在kingbase创建的用户密码         
                password: '111111' 
            flowable:
                driver-class-name: com.kingbase8.Driver
                url: jdbc:kingbase8://localhost:54321/y9_flowable?currentSchema=public
                username: system       
                password: '111111'
    jpa:
        #修改为kingbase版本对应的方言
        database-platform: org.hibernate.dialect.Kingbase8Dialect
        properties:
            hibernate:
                #修改为kingbase版本对应的方言
                dialect: org.hibernate.dialect.Kingbase8Dialect

事项管理工程配置修改

修改事项管理工程 itemAdmin 配置文件

项目工程目录:risenet-y9boot-webapp-itemadmin/src/resources/application.yml

修改数据源连接池配置

yaml
spring:
    datasource:
        druid:
            filter:
                wall:
                    #关闭Druid防御SQL注入攻击的WallFilter,不然无法操作数据库
                    enabled: false  
            y9-public:
                #修改为kingbase驱动类名称
                driver-class-name: com.kingbase8.Driver 
                #修改为kingbase连接池url
                url: jdbc:kingbase8://localhost:54321/y9_public?currentSchema=public  
                #修改为在kingbase默认的超级用户
                username: system
                #修改为在kingbase创建的用户密码         
                password: '111111' 
            flowable:
                driver-class-name: com.kingbase8.Driver
                url: jdbc:kingbase8://localhost:54321/y9_flowable?currentSchema=public
                username: system       
                password: '111111'
    jpa:
        #修改为kingbase版本对应的方言
        database-platform: org.hibernate.dialect.Kingbase8Dialect
        properties:
            hibernate:
                #修改为kingbase版本对应的方言
                dialect: org.hibernate.dialect.Kingbase8Dialect

工作办件工程配置修改

修改工作办件工程 flowableUI 配置文件

项目工程目录:risenet-y9boot-webapp-flowableui-position/src/resources/application.yml

修改数据源连接池配置

yaml
spring:
    datasource:
        druid:
            filter:
                wall:
                    #关闭Druid防御SQL注入攻击的WallFilter,不然无法操作数据库
                    enabled: false  
            y9-public:
                #修改为kingbase驱动类名称
                driver-class-name: com.kingbase8.Driver 
                #修改为kingbase连接池url
                url: jdbc:kingbase8://localhost:54321/y9_public?currentSchema=public  
                #修改为在kingbase默认的超级用户
                username: system
                #修改为在kingbase创建的用户密码         
                password: '111111'
    jpa:
        #修改为kingbase版本对应的方言
        database-platform: org.hibernate.dialect.Kingbase8Dialect
        properties:
            hibernate:
                #修改为kingbase版本对应的方言
                dialect: org.hibernate.dialect.Kingbase8Dialect

Released under the GPL-3.0 License.