merge sql error, dbType sqlserver, druid1.1.10, sql : null

niuzaiwenjie發表於2018-12-10

merge sql error, dbType sqlserver, druid, sql : null

將merge-sql: true 改為  merge-sql: false.

目前沒有更好的解決辦法,特記錄於此

 

2018年12月18日 

pool-prepared-statements: true
            max-pool-prepared-statement-per-connection-size: 20
            time-between-eviction-runs-millis: 60000
            min-evictable-idle-time-millis: 300000
            validation-query: SELECT count(1) FROM user_login
            test-while-idle: true
            test-on-borrow: false
            test-on-return: false
            stat-view-servlet:
                enabled: false #此處設為false 禁用druid
                url-pattern: /druid/*
                #login-username: admin
                #login-password: admin
                filter:
                    stat:
                        log-slow-sql: true
                        slow-sql-millis: 1000
                        merge-sql: false
                    wall:
                        config:
                            multi-statement-allow: true

 

相關文章