db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: [jira] Commented: (DERBY-4256) allow alter table to increase the maximum size of a blob and a clob.
Date Sun, 09 Aug 2009 15:24:19 GMT
Kristian Waagan wrote:
> FYI, we do have the classes LoopingAlphabetStream and 
> LoopingAlphabetReader that can be used to construct large streams 
> without materializing the whole value in memory.

Thanks Kristian!

Eranda found the class o.a.derbyTesting.functionTests.util.TestInputStream,
which seems to fit the task nicely. For this particular test, we don't
care about the contents of the Blob/Clob, just about its size, so the
TestInputStream class is easy to use for that purpose.



View raw message