Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. SessionImpl.flush() has thrown a ConstraintViolationException
    Hibernate Core
    0
    0
    0
  2. Duplicate entry or ambiguous column reference causing constraint violation
    MySQL Connector/J
    6
    1
    6

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`hibernate/pro_subcont_schedlist`, CONSTRAINT `FK F0D3FBD69E226721` FOREIGN KEY (`elt`) REFERENCES `pro_schedule` (`SCHEDULEID`))
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
6 frames hidden

External results for this pattern (10)

  1. Unknown authorvia nabble.com4 months ago
    could not update: [org.xinus.m odel.User#-1]
    Show stack trace
  2. kwootvia GitHub4 months ago
    could not update: [org.navalplanner.business.resources.entities.Worker#809]; nested exception is org.hibernate.exception.ConstraintViolationException: could not update: [org.navalplanner.business.resources.entities.Worker#809]
    Show stack trace
  3. Unknown authorvia journaldev.com4 months ago
    Duplicate entry '1' for key 'PRIMARY'
    Show stack trace
  4. Unknown authorvia journaldev.com4 months ago
    Duplicate entry '1' for key 'PRIMARY'
    Show stack trace
  5. Unknown authorvia liferay.com4 months ago
    com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '24814-DLFE-1752.doc-1' for key 'IX_6C5E6512'
    Show stack trace
  6. Unknown authorvia liferay.com4 months ago
    com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '24814-DLFE-1752.doc-1' for key 'IX_6C5E6512'
    Show stack trace
  7. Unknown authorvia liferay.com4 months ago
    com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '24814-DLFE-1752.doc-1' for key 'IX_6C5E6512'
    Show stack trace
  8. Unknown authorvia liferay.com4 months ago
    com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '24814-DLFE-1752.doc-1' for key 'IX_6C5E6512'
    Show stack trace
  9. Unknown authorvia coderanch.com4 months ago
    could not insert: [com.mdd.web.pojo.Bank]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [com.mdd.web.pojo.Bank]
    Show stack trace
  10. Unknown authorvia csdn.net4 months ago
    Cannot add or update a child row: a foreign key constraint fails (`wmw/wmwusertable`, CONSTRAINT `FK_wmw_upopedom_pcode` FOREIGN KEY (`wmw_upopedom`) REFERENCES `wmwpopedomtable` (`wmw_pcode`))
    Show stack trace