2011-03-18 3 views
0

Je reçois l'exception MySQLTransactionRollbackException (erreur 1213) lorsque j'essaie de faire une requête de sélection.Erreur inconnue: MySQLTransactionRollbackException 1213

L'exception a le message suivant:

"Deadlock found when trying to get lock; try restarting transaction"

Comment puis-je redémarrer la transaction en Java?

+0

double possible: http://stackoverflow.com/questions/2332768/how-to-avoid-mysql-deadlock-found-when-trying-to-get-lock-try- redémarrage-transa – mindas

Répondre