SessionImpl.flush() has thrown a ConstraintViolationException

com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException
Javadoc
at com.mysql.jdbc.SQLError.createSQLException
(source)
at com.mysql.jdbc.MysqlIO.checkErrorPacket
(source)
at com.mysql.jdbc.MysqlIO.sendCommand
(source)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect
(source)
at com.mysql.jdbc.Connection.execSQL
at com.mysql.jdbc.PreparedStatement.executeInternal
(source)
at com.mysql.jdbc.PreparedStatement.executeUpdate
(source)
at com.mysql.jdbc.PreparedStatement.executeUpdate
(source)
at com.mysql.jdbc.PreparedStatement.executeUpdate
(source)
at org.hibernate.persister.entity.AbstractEntityPersister.delete
(source)
org.hibernate.exception.ConstraintViolationException
Javadoc
Implementation of JDBCException indicating that the requested DML operation resulted in a violation of a defined integrity constraint. @author Steve Ebersole
at org.hibernate.exception.SQLStateConverter.convert
(source)
at org.hibernate.exception.JDBCExceptionHelper.convert
(source)
at org.hibernate.persister.entity.AbstractEntityPersister.delete
(source)
at org.hibernate.persister.entity.AbstractEntityPersister.delete
(source)
at org.hibernate.action.EntityDeleteAction.execute
(source)
at org.hibernate.engine.ActionQueue.execute
(source)
at org.hibernate.engine.ActionQueue.executeActions
(source)
at org.hibernate.engine.ActionQueue.executeActions
(source)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions
(source)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush
(source)
at org.hibernate.impl.SessionImpl.flush
(source)
20 frames hidden

Typical Exception Messages

  1. could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#10001]
  2. could not delete: [org.pentaho.platform.repository.subscription.Schedule#63a9f8b9-953d-11dd-9b1e-c7bc16284795]

Origin

PreparedStatement.executeUpdate() has thrown a MySQLIntegrityConstraintViolationException

com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException
8 frames hidden
com.mysql.jdbc.PreparedStatement.executeUpdate
24Web pages

Similar

External results for this pattern (2)

  1. Jared Pshedeskyvia Pentaho BI Platform Tracking5 months ago
    could not delete: [org.pentaho.platform.repository.subscription.Schedule#63a9f8b9-953d-11dd-9b1e-c7bc16284795]
    Show stack trace
  2. Unknown authorvia iteye.com5 months ago