FIX: Microsoft .NET Managed Provider for Oracle Does Not Update Against a Synonym Automatically (329794)
The information in this article applies to:
- Microsoft .NET Framework 1.0 SP2
This article was previously published under Q329794 SYMPTOMSWhen you use OracleCommandBuilder against an Oracle synonym to try to generate Insert, Update or Delete commands automatically in Microsoft .NET Managed Provider for
Oracle, you receive the following System.InvalidOperationException error
message: Dynamic SQL generation for the UpdateCommand is
not supported against a SelectCommand that does not return any key column
information. RESOLUTIONA
supported fix is now available from Microsoft, but it is only intended to
correct the problem that is described in this article. Apply it only to
computers that are experiencing this specific problem. To resolve this
problem, contact Microsoft Product Support Services to obtain the fix. For a
complete list of Microsoft Product Support Services phone numbers and
information about support costs, visit the following Microsoft Web site: NOTE: In special cases, charges that are ordinarily incurred for
support calls may be canceled if a Microsoft Support Professional determines
that a specific update will resolve your problem. The usual support costs will
apply to additional support questions and issues that do not qualify for the
specific update in question. The English version of
this fix has the file attributes (or later) that are listed in the following
table. The dates and times for these files are listed in coordinated universal
time (UTC). When you view the file information, it is converted to local time.
To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Version Size File name
-------------------------------------------------------------------------
18-Oct-2002 1.0.1087.0 290,816 bytes System.Data.OracleClient.dll
STATUS Microsoft has
confirmed that this is a problem in Microsoft .NET Managed Provider for Oracle.
WORKAROUNDTo work around this problem, query against the original
table instead of against a synonym.
Modification Type: | Minor | Last Reviewed: | 9/27/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbfix KB329794 |
---|
|