I get error "ORA-24813: cannot send or receive an unsupported LOB" while inserting BLOB data using parameteriz
Posted: Wed 13 Sep 2006 09:15
Hi,
I am using the Oracle driver(version 3.50.12.0) of OraDirect Corelab .NET 2. I have a C# .NET program that uses this driver and tries to execute an INSERT statement into a table that has one of its columns as BLOB.
The INSERT query is a parameterized query that is executed using the standard sequence of commands like using,
creating OracleCommand
creating and setting OracleParameters
and then using the ExecuteNonQuery method of the command object.
1. All this works fine for queries that do not have BLOBS in them.
2. For a query that has a BLOB field it works fine for data of size 2343 bytes.
3. For a query that has a BLOB field and where the data is of size 14228 bytes the insert fails with the following exception,
[CoreLab.Oracle.OracleException] = {"ORA-24813: cannot send or receive an unsupported LOB"}
at CoreLab.Oracle.OracleCommand.a(CommandBehavior A_0, IDisposable A_1, Int32 A_2, Int32 A_3)
at CoreLab.Common.DbCommandBase.c(CommandBehavior A_0)
at System.Data.Common.DbCommand.ExecuteReader()
at CoreLab.Common.DbCommandBase.ExecuteNonQuery()
Any help on this will be appreciated.
I am using the Oracle driver(version 3.50.12.0) of OraDirect Corelab .NET 2. I have a C# .NET program that uses this driver and tries to execute an INSERT statement into a table that has one of its columns as BLOB.
The INSERT query is a parameterized query that is executed using the standard sequence of commands like using,
creating OracleCommand
creating and setting OracleParameters
and then using the ExecuteNonQuery method of the command object.
1. All this works fine for queries that do not have BLOBS in them.
2. For a query that has a BLOB field it works fine for data of size 2343 bytes.
3. For a query that has a BLOB field and where the data is of size 14228 bytes the insert fails with the following exception,
[CoreLab.Oracle.OracleException] = {"ORA-24813: cannot send or receive an unsupported LOB"}
at CoreLab.Oracle.OracleCommand.a(CommandBehavior A_0, IDisposable A_1, Int32 A_2, Int32 A_3)
at CoreLab.Common.DbCommandBase.c(CommandBehavior A_0)
at System.Data.Common.DbCommand.ExecuteReader()
at CoreLab.Common.DbCommandBase.ExecuteNonQuery()
Any help on this will be appreciated.