Kathey Marsden <[EMAIL PROTECTED]> writes:
> One interesting test with 0 length is the case for getSubString(1,0)
> for a zero length lob.
> Should it throw an exception or return a zero length string?
The API working doesn't give much help to resolve this, the wording
for the exception in JDK 1.6 is
Throws:
SQLException - if there is an error accessing the CLOB value
which I guess is equivalent to YMMV... A case for Lance?
Even if this case is allowed, should it make a difference if position
is > (length+1), e.g. getSubString(2,0) for an empty CLOB?