Integrity Constraint Error (java.sql.SQLIntegrityConstraintViolationException) When Doing Deployments (Doc ID 1470521.1)

Last updated on JANUARY 05, 2017

Applies to:

Oracle ATG Web Commerce - Version 9.1 and later
Information in this document applies to any platform.

Symptoms

Your deployments may fail with the following exception:

A "unique constraint" error can happen in many circumstances.  This document is focused on when it happens during deployment on the target repository/datasource (e.g. ProductCatalog_staging) and occurs in the ReferenceItemGenerator.generateDummyItems() code as highlighted in the stack trace.  This document does not apply to "unique constraint" errors in any other circumstance.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms