Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Lock wait timeout exceeded; try restarting transaction

 
vrushali chaskar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i m working on hibernate,myssql and struts2.
i have written one stored procedure in mysql. It has sql blocks like delete from tablename and after some processing i m inserting data in to the same table.Stored procedure is running successfully.
When one user is accessing the program which is executing stored procedure it is running successfully. but when another user is trying to accessing the same program then giving the error.

Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction


how to resolve it.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic