org.hibernate.exception.LockAcquisitionException

could not execute statement

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Lukasz Pater,
  • via Unknown by Lukasz Pater,
  • Stack trace

    • org.hibernate.exception.LockAcquisitionException: could not execute statement at org.hibernate.dialect.PostgreSQL81Dialect$2.convert(PostgreSQL81Dialect.java:388)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:189)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:58)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.persister.collection.AbstractCollectionPersister.remove(AbstractCollectionPersister.java:1157)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.action.internal.CollectionRemoveAction.execute(CollectionRemoveAction.java:111)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:395)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:307)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1159)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:404)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)[hibernate-core-4.2.13.Final.jar:4.2.13.Final] at com.cenqua.crucible.hibernate.SessionState.commit(SessionState.java:165)[fisheye.jar:?] at com.cenqua.crucible.hibernate.SessionState.commitAllTx(SessionState.java:118)[fisheye.jar:?] at com.cenqua.crucible.hibernate.SessionState.commitTx(SessionState.java:109)[fisheye.jar:?] at com.cenqua.crucible.hibernate.HibernateUtil.commitTransaction(HibernateUtil.java:385)[fisheye.jar:?]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    linxiaolonglinxiaolong
    9 times, last one
    Unknown visitor
    Unknown visitorOnce,