My Oracle Support Banner

Batch Update Throws FK Constraint Violation Exception (Doc ID 1611074.1)

Last updated on MAY 12, 2021

Applies to:

Oracle JDeveloper - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Using JDeveloper 11.1.1.7.0

Foreign key violation exception is thrown during batch updates with associated Entity objects in master-detail relationships using associations. Both entities are set to use batch updates.

The issue is seen when the application attempts to insert a single record for the child entity and 2 for the master.

Cause

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
Symptoms
Cause
Solution


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