SpringBoot如何解决multi-statement not allow

 sql injection violation, multi-statement not allow : UPDATE 

SpringBoot如何解决multi-statement not allow_第1张图片

解决办法:

修改application.properties

1.pring.datasource.druid.filters=stat,wall      删除wall

2.url  添加allowMultiQueries=true

'wall'用于防火墙

SpringBoot如何解决multi-statement not allow_第2张图片

你可能感兴趣的:(SpringBoot如何解决multi-statement not allow)