cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject MySQL deadlock exceptions
Date Tue, 05 Aug 2014 13:54:45 GMT
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

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?


View raw message