After years working with MySQL I stumbled on a problem for the first time that 
seems rather old and common. MySQL would throw when 2 InnoDB transactions are 
trying to update the same row:

com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock 
found when trying to get lock; try restarting transaction

I am wondering whether we should add a “catch/restart tx” to Cayenne to handle 
that. The purpose of this message is to ask how often if ever folks in the 
community have to deal with this exception?

Thanks,
Andrus



Reply via email to