org.springframework.dao.DataIntegrityViolationException: could not perform addBatch; SQL [delete from cwd_app_dir_group_mapping where id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not perform addBatch

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 Michael Duong [Atlassian], 1 year ago
could not perform addBatch; SQL [delete from cwd_app_dir_group_mapping where id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not perform addBatch
via Atlassian JIRA by Michael Duong [Atlassian], 1 year ago
could not perform addBatch; SQL [delete from cwd_app_dir_group_mapping where id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not perform addBatch
via Stack Overflow by Adam Siemion
, 1 year ago
could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
via Stack Overflow by csstugfurher
, 1 year ago
Cannot add or update a child row: a foreign key constraint fails (formato_inscripcion.roles_usuario, CONSTRAINT roles_usuario_ibfk_1 FOREIGN KEY (ID_USUARIO, CLAVE_USUARIO) REFERENCES usuarios (ID, CLAVE)); SQL [n/a]; constraint [null]; nested
via atlassian.net by Unknown author, 2 years ago
could not execute statement; SQL [n/a] ; constraint [null] ; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
via Stack Overflow by lustre
, 8 months ago
could not perform addBatch; SQL [update Job set createTime=?, updateTime=?, detail=?, icon=?, introduce=?, name=?, remark=? where id=?]; nested exception is org.hibernate.exception.DataException: could not perform addBatch
org.springframework.dao.DataIntegrityViolationException: could not perform addBatch; SQL [delete from cwd_app_dir_group_mapping where id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not perform addBatch
at org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:138)
at org.springframework.orm.hibernate4.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:678)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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