MySQL Forums
Forum List  »  InnoDB

Deadlock while create new entry
Posted by: Rafal Kedziorski
Date: May 04, 2005 10:10AM


we ware working with MySQL 4.0.23a, JBoss and JDBC 3.0.16ga. And we get sometimes this error on create new entry:

2005-05-04 17:58:36,209 ERROR [org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand.Media_File_2_Shopping_CartBean] Could not cre
ate entity
java.sql.SQLException: Deadlock found when trying to get lock; Try restarting transaction message from server: "Lock wait timeout exceede
d; Try restarting transaction"


Our Media_File_2_Shopping_CartBean bean is configured for row-locking.

Best Regards,

Options: ReplyQuote

Written By
Deadlock while create new entry
May 04, 2005 10:10AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.