I have this error when doing an update of a table:
ORA-01461: CAN BIND A LONG VALUE ONLY FOR INSERT INTO A LONG COLUMN
the column that gives this error is defined as a CLOB
and I am trying to insert a string with nearly 40k characters...
I read here that a solution would be to define the ParameterDirection
as InputOutput
and not only Input
. I did but then I get the following error
ORA-00932: INCOHERENT TYPES OF DATA: - WAITED; CLOB OBTAINED
How can I solve this problem? Also I think is a problem of the dll because with System.Data.OracleClient
it works well. But I would like to use Oracle.ManagedDataAccess
because the other one is deprecated.
Thanks