Groups | Blog | Home
all groups > dotnet ado.net > july 2005 >

dotnet ado.net : Stupid bugs in ODP.NET 9.2.0.4.01



msnews.microsoft.com
7/29/2005 4:10:32 PM
1. Execute this SQL
DELETE FROM ... WHERE ROWNUM=1 RETURNING a,b INTO :pa,:pb
with ExecuteNonQuery(), here a and b are number columns, and the two output
parameters' datatype is set to DbType.Int64, you are ok where there is row
in database, otherwise your app crashs.

2. Guess what the DbType of this parameter is:
OracleParameter p = new OracleParameter("name",0L);
it is DbType.AnsiString other than DbType.Int64.

Oracle did not release any patch for it for so long time. How could it be a
company?

Sahil Malik [MVP]
8/1/2005 11:09:52 AM
I agree. I blogged about this earlier -
http://codebetter.com/blogs/sahil.malik/archive/2005/07/20/129504.aspx


- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
-------------------------------------------------------------------------------------------

[quoted text, click to view]

Frans Bouma [C# MVP]
8/2/2005 1:12:01 AM
[quoted text, click to view]

FYI: Oracle did release patches for the 401 release, though these are
only available on the partner network site (i.e.: for people with a
partnership/support contract with oracle)

FB

[quoted text, click to view]


--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
AddThis Social Bookmark Button