db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: [jira] Commented: (DERBY-1286) Fill in Clob methods required for JDBC3 compliance
Date Thu, 25 May 2006 06:42:49 GMT
On 5/24/06, Lance J. Andersen <Lance.Andersen@sun.com> wrote:
>
>  This is what we discussed in the EG and agreed to in this regards
>
>  consider a Clob, aClob,  containing the following value for each
>  setString() invocation below.
>
>  ABCDEFG
> A. aClob.setString(2, "XX")
>
> Result:  AXXDEFG
>
> B. aClob.setString(1, "XX")
>
> Result:  XXCDEFG

The fact that these are one-indexed instead of zero-indexed seems like
a really good thing to mention in the javadoc for these methods.

my $.02,
andrew

Mime
View raw message