views:

33

answers:

0

Related to my other questions, I'm having a weird case of the classic deadlock exception: Caused by: java.sql.BatchUpdateException: Deadlock found when trying to get lock; try restarting transaction. blablalbla...

The code is identified and indeed, it's possible to get a deadlock. The thing is that I'm getting the exception immediatly. I've set the "innodb_lock_wait_timeout" variable to 1 hour (3600). But still the exception comes right away.

So... what in g*d's name is going on ?