I need to insert an xml file into oracle. when I tried this with a clob, the OracleLob.write method's byte parameter needs even number of bytes. This works with you use Encoding.Unicode as the byte[] encoding, but I need to use utf8, because when I reencode to utf8 on the other receiving side, it takes forever.
How do I write to a clob or a blob using utf8 encoding, so I don't need to reencode when I retrieve the data later?
How do I write to a clob or a blob using utf8 encoding, so I don't need to reencode when I retrieve the data later?