mybatis批量更新出现he error occurred while setting parameters

当你更新一条时,不会发生问题,但是执行多条就出现了错误
原因是mysql 配置jdbc:driver 应该添加&allowMultiQueries=true
url:jdbc:mysql://localhost:3306/mei?characterEncoding=utf8&allowMultiQueries=true

猜你喜欢

转载自blog.csdn.net/drdongshiye/article/details/79758765