摘要: ```bash org.springframework.dao.CannotAcquireLockException: PreparedStatementCallback; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait time... 阅读全文
posted @ 2018-09-25 17:25 WriteOnRead 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 使用 时遇到了这个问题,百思不得其解😂 后来总算找到了解决方法,使用子查询。如下: 参考链接:https://stackoverflow.com/questions/2472229/insert into select from on duplicate key update 阅读全文
posted @ 2018-09-25 16:50 WriteOnRead 阅读(724) 评论(0) 推荐(0) 编辑