Cause: java.sql.BatchUpdateException: Lock wait timeout exceeded; try restarting transaction ; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.BatchUpdateException: Lock wait timeout exceeded; try restarting transaction
原因是手动提交事务,代码里抛出了异常没有回滚