开发中执行 sql 遇到异常如下
Error updating database. Cause: java.sql.SQLException:
sql injection violation, delete not allow : delete from xxx where id = ?
解决方式:
数据库配置文件加入即可解决
spring.datasource.druid.filter.wall.enabled= false
spring.datasource.druid.filters=stat,slf4j
来源:oschina
链接:https://my.oschina.net/hp2017/blog/4299888