db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azubuko Obele" <buko.ob...@gmail.com>
Subject Writing to a Clob data of unknown length
Date Mon, 10 Apr 2006 03:05:51 GMT
Hey all.

Anybody have any ideas about how to go about writing Clob data of unknown
length?

My first thought was to insert an empty clob of length 0, then read the
javax.sql.Clob object back and use Clob.setCharacterStream to obtain a
Writer object. Unfortunately the setCharacterStream method isn't supported.
My next idea was to use the Clob.setString method to write the data chunk by
chunk. Turns out this feature isn't supported yet either. So... any ideas?
Nobody else run into this problem yet?

Mime
View raw message