My Oracle Support Banner

OracleCommandBuilder Doesn't Set UpdateCommand/InsertCommand/DeleteCommand Properties To OracleDataAdapter (Doc ID 2340796.1)

Last updated on FEBRUARY 08, 2019

Applies to:

Oracle Data Provider for .NET - Version 12.1.0.2 and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

Symptoms

OracleCommandBuilder does not set UpdateCommand/InsertCommand/DeleteCommand properties correctly to OracleDataAdapter.
This problem is not seen for simple queries.

However, following code causes ORA-1733 "virtual column not allowed here" because 'ROWID' is included wrongly in update list of update statement generated implicitly from OracleDataAdapter when its UpdateCommand is null.

This problem is reproducible in both Unmanaged and Managed ODP.NET drivers. 

Changes

 

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
Changes
Cause
Solution
 WORKAROUND:
References


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