org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: com.atlassian.confluence.core.BodyContent#10322018; SQL []; integrity constraint violation: unique constraint or index violation; SYS_PK_10126 table: BODYCONTENT; nested exception is java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: unique constraint or index violation; SYS_PK_10126 table: BODYCONTENT

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

Solutions on the web

via Atlassian JIRA by Vladimir, 1 year ago
Hibernate operation: could not insert: com.atlassian.confluence.core.BodyContent#10322018; SQL []; integrity constraint violation: unique constraint or index violation; SYS_PK_10126 table: BODYCONTENT; nested exception is java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: unique constraint or index violation; SYS_PK_10126 table: BODYCONTENT
via Atlassian JIRA by Adalberto Schneider, 1 year ago
Hibernate operation: could not delete: [com.atlassian.confluence.pages.Attachment#5799948]; SQL []; ERROR: update or delete on table "content" violates foreign key constraint "fka768048734a4917e" on table "imagedetails" Detail: Key (contentid
via Atlassian JIRA by Adalberto Schneider [Atlassian], 1 year ago
Hibernate operation: could not delete: [com.atlassian.confluence.pages.Attachment#5799948]; SQL []; ERROR: update or delete on table "content" violates foreign key constraint "fka768048734a4917e" on table "imagedetails" Detail: Key (contentid
via Atlassian JIRA by Pavel Dreger, 1 year ago
Hibernate operation: could not insert: [com.atlassian.confluence.pages.Page#721295]; SQL []; Duplicate entry '721295' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '721295' for key 'PRIMARY'
org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: com.atlassian.confluence.core.BodyContent#10322018; SQL []; integrity constraint violation: unique constraint or index violation; SYS_PK_10126 table: BODYCONTENT; nested exception is java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: unique constraint or index violation; SYS_PK_10126 table: BODYCONTENT

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.