OracleCommandBuilder Doesn't Set UpdateCommand/InsertCommand/DeleteCommand Properties To OracleDataAdapter
(Doc ID 2340796.1)
Last updated on DECEMBER 26, 2017
Applies to:Oracle Data Provider for .NET - Version 220.127.116.11 and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!