正确理解Spring事务和数据库事务和锁
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