Inserting clobs into oracle with ODBC

Posted by Carra on Stack Overflow See other posts from Stack Overflow or by Carra
Published on 2009-06-04T07:29:39Z Indexed on 2010/03/22 11:31 UTC
Read the original article Hit count: 389

Filed under:
|
|
|

I'm trying to insert a clob into Oracle. If I try this with an OdbcConnection it does not insert the data into the database. It returns 1 row affected and no errors but nothing is inserted into the database.

It does work with an OracleConnection. However, using the Microsoft OracleClient makes our webservices often crash with an AccessViolationException (Attempted to read or write protected memory. This is often an indication that other memory is corrupt.). This happens a lot when we use OracleDataAdapter.Fill(dataset). So using this doesn't seem like an option.

Is there any way to insert/update clobs with more then 4.000 characters from .Net with an OdbcConnection?

© Stack Overflow or respective owner

Related posts about clob

Related posts about c#