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 Stack Overflow by lucash
, 1 year ago
ERROR: duplicate key value violates unique constraint "unique_document_id_rows_order" Detail: Key (document_id, rows_order)=(113306, 2) already exists. Error Code: 0
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "unique_document_id_rows_order"
  Detail: Key (document_id, rows_order)=(113306, 2) already exists.
Error Code: 0	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:526)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)	at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:485)	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)	at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96c(AbstractTransactionAspect.aj:70)	at com.dbcentral.service.DocumentService.addRow(DocumentService.java:100)