java.sql.SQLException: Lock wait timeout exceeded; try restarting tra nsaction at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) at com.m
It could be caused by the misuse of the following annotation as well, like in this StackOverflow article:
@Transactional(propagation = Propagation.REQUIRES_NEW)