代理模式实现mybatis批量插入更新,解决:PacketTooBigException: Packet for query is too large (4,850,051 > 4,194,30...
一、问题数据库mysql,在使用mybatis进行批量插入的时候,报错:###Cause:com.mysql.cj.jdbc.exceptions.PacketTooBigException:Packetforqueryistoolarge(4,850,051>4,194,304).Youcanchangethisvalueontheserverbysettingthe'max_allowed_p