My Oracle Support Banner

New Application ID Ignored when Using "Copy An Existing Application." ORA-00001: unique constraint (APEX_050100.WWV_FLOW_LISTS_PK) violated. (Doc ID 2266278.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Application Express (formerly HTML DB) - Version 5.1.0 and later
Information in this document applies to any platform.


1. Create a new application in 5.1. Say its ID is 150
2. Create another application based on #1 using "Copy an existing Application".
3. Give the new application a new Application ID that does not conflict such as 200.
4. Create the application.
5. Export the newly created application and you will see that the export file still contains the ID of the application that it was copied from. In this example 150.

This does not occur in APEX 4.2.6.

Note: Because of this, importing the application can cause a PK violation such as:


 Upgraded from APEX 4.2 to APEX 5.1.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.