Constraint Violation Not Raised When Using Defferrable Constraint And Transactionscope
(Doc ID 1404756.1)
Last updated on FEBRUARY 18, 2019
Applies to:Oracle Data Provider for .NET - Version 188.8.131.52 to 184.108.40.206 [Release 11.1 to 11.2]
Oracle Services for Microsoft Transaction Server - Version 220.127.116.11 to 18.104.22.168 [Release 11.1 to 11.2]
Information in this document applies to any platform.
When an application calls a procedure that deletes from a parent table without deleting from the child table. Which is referred with deferred Foreign Key constraint to the parent. The application session is ether dropped or will continue without throwing the Foreign Key violation error:
Tracing on the Oracle Database shows that the Ora-02292 is being sent to the application. However, the application never shows it to the user.
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