Error while mysql table gets updated from java -


i trying update 1 particular record in mysql table java code. update function doing lots of different activities including update operation within same transaction.

but here same table row not getting updated outside (mysql workbench) or other transaction until transaction update gets committed. generating following error.

caused by: com.mysql.jdbc.exceptions.jdbc4.mysqltransactionrollbackexception: lock wait timeout exceeded; try restarting transaction

is there work around fix issue? please suggest.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -