Inserting CLOBs using OCCI

From: Al Vancleef <alvancleef_at_mail.com>
Date: 9 Jul 2002 14:51:18 -0700
Message-ID: <43008805.0207091351.4e255880_at_posting.google.com>


Hi all,
An OCCI application inserts narrative texts into a CLOB column. So far I don't use setClob method.
Setting texts up to 4K via setString works just fine. I don't never ever need to update the texts.
I'm wondering what's the maximum string size for setString method? Should be around 32K, right? I'm thinking about something like

if (size < 32656)
  stmt -> setString( buffer );
else {
// perform CLOB actions here
}

TIA
Al Received on Tue Jul 09 2002 - 23:51:18 CEST

Original text of this message