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
Post a Comment