Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ODP.NET blob PL/SQL parameter size limit?

481404Dec 6 2006 — edited Oct 6 2010
I am trying to pass a blob into a PL/SQL procedure with the following method:

cmd.Parameters.Add(new OracleParameter("file_content", OracleDbType.Blob, File.ReadAllBytes("C:\\myfile.pdf"), ParameterDirection.Input));

This seems to work fine as long as the file is below about 32k. If it is any larger then no more data seems to be sent. The strange thing is that the OracleParameter contains the full size of data. However the full data does not seem to arrive at the database.

Anyone have any idea whats wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2010
Added on Dec 6 2006
9 comments
2,870 views