Constraint Violation Not Raised When Using Defferrable Constraint And Transactionscope
Last updated on JULY 20, 2012
Applies to:Oracle Data Provider for .NET - Version 220.127.116.11 to 18.104.22.168 [Release 11.1 to 11.2]
Oracle Services for Microsoft Transaction Server - Version 22.214.171.124 to 126.96.36.199 [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.
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