Notification Exception: (Env:Production) : : java.lang.String :
PreparedStatementCallback; SQL [ UPDATE txn_tracker set status=?,
schedule_dt=SYSDATE() where txn_id =? and status=? ];
Deadlock found when trying to get lock; try restart
如何应对此异常
请建议..
答案 0 :(得分:0)
你必须抓住它并重试交易。一些提示,以减少mysql死锁的可能性: http://dev.mysql.com/doc/refman/5.0/en/innodb-deadlocks.html