ODP.NET blob PL/SQL parameter size limit?
481404Dec 6 2006 — edited Oct 6 2010I 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?