org.springframework.dao.TransientDataAccessResourceException: ### Error updating database. Cause: com.mysql.cj.jdbc.exceptions.PacketTooBigException: Packet for query is too large (155,396,072 > 67,108,864). You can change this value on the server by setting the 'max_allowed_packet' variable. ### The error may exist in class path resource [mapper/SupplierBaseBackupMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: INSERT INTO sup_backup (id, applicant, applicant_date, applicant_remark, applicant_id, new_supplier_data_info, old_supplier_data_info, status, supplier_id, supplier_name, supplier_code, company_id, company_name, company_code, enterprise_id, effective_date, create_date, creator, creator_name, update_date, modifier, modifier_name) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ### Cause: com.mysql.cj.jdbc.exceptions.PacketTooBigException: Packet for query is too large (155,396,072 > 67,108,864). You can change this value on the server by setting the 'max_allowed_packet' variable. ; Packet for query is too large (155,396,072 > 67,108,864). You can change this value on the server by setting the 'max_allowed_packet' variable.; nested exception is com.mysql.cj.jdbc.exceptions.PacketTooBigException: Packet for query is too large (155,396,072 > 67,108,864). You can change this value on the server by setting the 'max_allowed_packet' variable.这个max_allowed_packet要在哪里修改
最新发布