Raw(16) Guid failed as Oracle Out Parameter

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
MertzC
Posts: 2
Joined: Tue 05 May 2009 12:08
Location: Göttingen Germany

Raw(16) Guid failed as Oracle Out Parameter

Post by MertzC » Mon 02 Aug 2010 07:26

We use Devart dotConnect for Oracle 5.70.152.0 and the entity model.
We defined a package procedure with an out RAW(16) Parameter.
The Designer created this part

Code: Select all

if (P_USERIDParameter.Value != null && !(P_USERIDParameter.Value is System.DBNull))
              P_USERID = (global::System.Nullable)P_USERIDParameter.Value;
            else
              P_USERID = default(global::System.Nullable);
And, of course, the function failed with: Specified cast is not valid. The Paramter value has the type byte[16].
Please fix this issue.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 04 Aug 2010 12:29

Thank you for the report, I have reproduced the problem.
I will let you know about the results of our investigation.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 10 Aug 2010 09:54

This problem is fixed. Look forward to the nearest build.

Post Reply