• Post Reply Bookmark Topic Watch Topic
  • New Topic

Lock wait timeout exceeded; try restarting transaction  RSS feed

 
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.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!