Lock wait timeout exceeded; try restarting transaction解決方案
參考文章
Spring中@Transactional事務回滾
http://www.importnew.com/19489.htmlMysql中“select ... for update”排他鎖分析
http://blog.csdn.net/claram/article/details/54023216
http://www.jianshu.com/p/4e3edbedb9a8