How to Avoid Lock wait timeout exceeded exception.?

前端 未结 7 1222
独厮守ぢ
独厮守ぢ 2020-12-09 10:32
    java.sql.SQLException: Lock wait timeout exceeded; try restarting tra
nsaction at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
        at com.m         


        
相关标签:
7条回答
  • 2020-12-09 11:06

    It could be caused by the misuse of the following annotation as well, like in this StackOverflow article:

    @Transactional(propagation = Propagation.REQUIRES_NEW)
    
    0 讨论(0)
提交回复
热议问题