fr11小版本升级后报错DDL/DMLqueryisnotpermittedforcur

请问升级后出现这个问题怎么解决?

DDL/DML query is not permitted for current database

image.png

FineReport ran1025 发布于 2024-7-24 17:04
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
1
Lv8vTWLv4见习互助
发布于2024-8-16 09:59

11.0.28 升级了安全策略,禁用了部分有风险的SQL关键词,可参考填报修改fine_conf_entity,新增以下两项,重启项目后生效:

id:

JDBCSecurityConfiguration.sqlWhiteKeyword

value:

["attach","create","drop","truncate","benchmark","alter","xp_dirtree","comment","merge","insert","update","delete","call","rename","lock","exec","database"]

id:

JDBCSecurityConfiguration.sqlBlackFunction

value:

["attach","create","drop","truncate","benchmark","alter","xp_dirtree","comment","merge","insert","update","delete","call","rename","lock","exec","database"]

最佳回答
0
snrtuemcLv8专家互助
发布于2024-7-24 17:05

这个建议先还原原来版本

找帆软技术处理,解决兼容问题

  • 3关注人数
  • 286浏览人数
  • 最后回答于:2024-8-16 09:59
    请选择关闭问题的原因
    确定 取消
    返回顶部