在URL链接参数中配置rewriteBatchedStatements、useServerPrepStmts为trueurl="jdbc:mysql://****/dbName?useSSL=false&rewriteBatchedStatements=true&useServerPrepStmts=true&cachePrepStmts=true&autoReconnect=true&failOverReadOnly=false"查询调用情况:sh ......
本文摘自 :https://www.cnblogs.com/


