TemporaryClob doesn't save the known length of the Clob in all situations.
The following places in the code should be improved (some easier than others):
b) copyClobContent(InternalClob,long) (non-static)
c) copyClobContent(InternalClob) (non-static)
There might be additional places to fix too.
- relates to
DERBY-4241 Improve transition from read-only to writable Clob representation