mysql开启批处理语句(4.0版本之后默认不开启)

数据库连接url后加上rewriteBatchedStatements=true这个参数即可

jdbc:mysql://localhost:3306/mydb?rewriteBatchedStatements=true

猜你喜欢

转载自blog.csdn.net/qq_26514509/article/details/85147448
今日推荐