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. thanks, bryan
