ORA-22835: Insufficient buffer size for converting CLOB to CHAR or BLOB to RAW (actual: 81863, maximum: 2000)

63 Views Asked by At

I am attempting to insert file byte array in database(Oracle) using C# application and Nhibernate version 5.4.6 and but I am getting the error below:

"ORA-22835: Insufficient buffer size for converting CLOB to CHAR or BLOB to RAW (actual: 81863, maximum: 2000)".

But same is working fine with Nhibernate version 3.1.0.

Table column : enter image description here

Column mapping is below :

<property name="Image" type="BinaryBlob">
      <column name="IMAGE" not-null="false" sql-type="LONG RAW" />
</property>

0

There are 0 best solutions below