ORA-00001 Unique Constraint Violation If Sequence Is Used (Doc ID 1147513.1)

Last updated on APRIL 11, 2017

Applies to:

Oracle TopLink - Version 9.0.4.1 and later
Information in this document applies to any platform.
*** Checked for relevance on 20-Jun-2012 ***

Symptoms

An application using a sequence for generating the primary key values runs into

ORA-00001: unique constraint violation


A comparable error message would appear if a database server was used that is not Oracle Database Server.

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