SessionImpl.flush() has thrown a ConstraintViolationException

We found this prefix in 2 webpages.
MapChildren (2)Typical messages (2)TraceDetailed Map
  1. com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException
    1.   at com.mysql.jdbc.SQLError.createSQLException()
    2.   at com.mysql.jdbc.MysqlIO.checkErrorPacket()
    3.   at com.mysql.jdbc.MysqlIO.sendCommand()
    4.   at com.mysql.jdbc.MysqlIO.sqlQueryDirect()
    5.   at com.mysql.jdbc.Connection.execSQL()
    6.   at com.mysql.jdbc.PreparedStatement.executeInternal()
    7.   at com.mysql.jdbc.PreparedStatement.executeUpdate()
    8.   at com.mysql.jdbc.PreparedStatement.executeUpdate()
    9.   at com.mysql.jdbc.PreparedStatement.executeUpdate()
    10.   at org.hibernate.persister.entity.AbstractEntityPersister.delete()
  2. org.hibernate.exception.ConstraintViolationException
    1.   at org.hibernate.exception.SQLStateConverter.convert()
    2.   at org.hibernate.exception.JDBCExceptionHelper.convert()
    3.   at org.hibernate.persister.entity.AbstractEntityPersister.delete()
    4.   at org.hibernate.persister.entity.AbstractEntityPersister.delete()
    5.   at org.hibernate.action.EntityDeleteAction.execute()
    6.   at org.hibernate.engine.ActionQueue.execute()
    7.   at org.hibernate.engine.ActionQueue.executeActions()
    8.   at org.hibernate.engine.ActionQueue.executeActions()
    9.   at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions()
    10.   at org.hibernate.event.def.DefaultFlushEventListener.onFlush()
    11.   at org.hibernate.impl.SessionImpl.flush()
  1. Exception, lame error message, and failure to delete schedules in Enterprise Console

    First:10 years ago
    Last:2 years ago
    Author:Jared Pshedesky
    Site:Pentaho BI Platform Tracking
    http://jira.pentaho.com/browse/BISERVER-2246
  2. 为什么我的JBPM4.3 流程结束后,会自动执行删除流程,而且抛外键约束异常,急啊 - JBPM @net - ITeye群组

    First:2 years ago
    Last:2 years ago
MessageNumber of crashes
could not delete: [org.pentaho.platform.repository.subscription.Schedule#63a9f8b9-953d-11dd-9b1e-c7bc16284795]1
could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#10001]1
  1. com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException
    1.   at com.mysql.jdbc.SQLError.createSQLException()
    2.   at com.mysql.jdbc.MysqlIO.checkErrorPacket()
    3.   at com.mysql.jdbc.MysqlIO.sendCommand()
    4.   at com.mysql.jdbc.MysqlIO.sqlQueryDirect()
    5.   at com.mysql.jdbc.Connection.execSQL()
    6.   at com.mysql.jdbc.PreparedStatement.executeInternal()
    7.   at com.mysql.jdbc.PreparedStatement.executeUpdate()
    8.   at com.mysql.jdbc.PreparedStatement.executeUpdate()
    9.   at com.mysql.jdbc.PreparedStatement.executeUpdate()
    10.   at org.hibernate.persister.entity.AbstractEntityPersister.delete()
  2. org.hibernate.exception.ConstraintViolationException
    1.   at org.hibernate.exception.SQLStateConverter.convert()
    2.   at org.hibernate.exception.JDBCExceptionHelper.convert()
    3.   at org.hibernate.persister.entity.AbstractEntityPersister.delete()
    4.   at org.hibernate.persister.entity.AbstractEntityPersister.delete()
    5.   at org.hibernate.action.EntityDeleteAction.execute()
    6.   at org.hibernate.engine.ActionQueue.execute()
    7.   at org.hibernate.engine.ActionQueue.executeActions()
    8.   at org.hibernate.engine.ActionQueue.executeActions()
    9.   at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions()
    10.   at org.hibernate.event.def.DefaultFlushEventListener.onFlush()
    11.   at org.hibernate.impl.SessionImpl.flush()