I had been receiving these errors in my catalina logs and i don’t know how to fix or correct this error.
- ERROR 2018-02-08 20:54:31,592 ERROR: duplicate key value violates unique constraint “datavalue_pkey”
Detail: Key (dataelementid, periodid, sourceid, categoryoptioncomboid, attributeoptioncomboid)=(1959, 8293416, 1248, 13, 13) already exists. (SqlExceptionHelper.java [tomcat-http-218])
- ERROR 2018-02-08 20:54:31,593 HHH000346: Error during managed flush [could not execute statement] (SessionImpl.java [tomcat-http-218])
org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [datavalue_pkey]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
Please can someone help