Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Make sure you are using InnoDB storage engine and READ-COMMITTED transaction isolation level and increase the database server innodb_lock_wait_timeout variable to about 500.

Solutions on the web

via coderanch.com by Unknown author, 2 years ago
could not update: [model.entity.customer.account.Account#1]
via Coderanch by stanislav bashkirtsev, 1 year ago
could not update: [model.entity.customer.account.Account#1]
via Google Groups by hhale21, 2 years ago
could not update: [ca.digitalrapids.licenseServer.constraints.model.AccessGrant#2]
via Stack Overflow by Max A.
, 2 years ago
could not update: [com.bamnetworks.cms.types.Piggy#934]
via spring.io by Unknown author, 2 years ago
could not update: [uk.co.anm.eseducation.domain.Article#3]
via Pentaho BI Platform Tracking by gunter rombauts, 2 years ago
could not update: [com.pentaho.repository.dbbased.solution.RepositoryFile#c6107913-ca68-11dc-98dc-5d7c50ee1b1e]
org.hibernate.exception.GenericJDBCException: could not update: [model.entity.customer.account.Account#1] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2430) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612) at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.springframework.orm.hibernate3.SpringSessionSynchronization.beforeCommit(SpringSessionSynchronization.java:135) at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:72) at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:905) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:715) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701) at model.dao.TransactionManager.commit(TransactionManager.java:33) at tariffication.TarifficationManagerImpl.saveData(TarifficationManagerImpl.java:67) at tariffication.TarifficationManagerImpl.tariffy(TarifficationManagerImpl.java:32) at radius.accounting.SessionUpdater.tariffySession(SessionUpdater.java:24) at radius.accounting.processor.SessionUpdateProcessor.proccessSession(SessionUpdateProcessor.java:26) at radius.controller.impl.AccountingController.handleRequest(AccountingController.java:26) at radius.RadiusRequestHandler.handle(RadiusRequestHandler.java:18) at radius.dispatcher.RadiusRequestDispatcher.handle(RadiusRequestDispatcher.java:24) at net.jradius.handler.PacketHandlerBase.handle(PacketHandlerBase.java:49) at net.jradius.handler.EventHandlerBase.execute(EventHandlerBase.java:66) at net.jradius.server.RadiusProcessor.runPacketHandlers(RadiusProcessor.java:130) at net.jradius.freeradius.FreeRadiusProcessor.processRequest(FreeRadiusProcessor.java:57) at net.jradius.server.Processor.process(Processor.java:123) at net.jradius.server.Processor.run(Processor.java:99)Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922) at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:23) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2408) ... 28 more