Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Lance J. Andersen
Hi Craig, Craig L Russell wrote: Hi Lance, On Jul 17, 2006, at 8:55 AM, Lance J. Andersen wrote: The JDBC methods should, as much as the possibly can, be consistent with the behavior of methods in the JDK. I agree with your point here. I think all of us are saying that there is no inconsis

My comment to Lance ( Was Re: should Clob.getSubstring() allow length of 0?)

2006-07-17 Thread Kathey Marsden
Now that the Clob.getSubstring() thread is back on track, I wanted to try to clarify my OK/Not OK post in Clob.getSubstring() thread and apologize for any trouble it caused the community or Lance. There I think were actually many points of misunderstanding. and poor judgment on my part.

Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Craig L Russell
Hi Lance, On Jul 17, 2006, at 8:55 AM, Lance J. Andersen wrote: The JDBC methods should, as much as the possibly can, be consistent with the behavior of methods in the JDK. I agree with your point here. I think all of us are saying that there is no inconsistency with zero length Strings in

Using SQuirreL SQL client with Derby databases - new article on the Derby web site

2006-07-17 Thread Susan Cline
Hi, I wrote up an article about using SQuirreL SQL client with Derby. SQuirreL, http://squirrelsql.org/, is a nice GUI which uses JDBC to connect to a variety of databases. The article I've written, 'Using SQuirreL SQL Client with Derby', http://db.apache.org/derby/integrate/SQuirreL_Der

Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Craig L Russell
I've filed DERBY-1516 for this discussion. I agree with Thomas, and would just point out that it appears that it's only the embedded Derby driver that has the issue. The code in the Derby access manager Blob and Clob are implemented correctly. Craig On Jul 17, 2006, at 8:36 AM, Thomas Dudz

Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Lance J. Andersen
I understand what you and Andreas are saying, but even if i look at copyValueOf, the docs are not clear at the expected behavior. Unfortunately, what ends up happening is for items that are not explicit, then they often take a life of their own and imitation is the biggest form of flattery.

Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Lance J. Andersen
Andreas Korneliussen wrote: Lance J. Andersen wrote: Here is the description of String.subString() substring public String *substring*(int beginIndex, int endIndex) Returns a new string tha

Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Thomas Dudziak
On 7/17/06, Lance J. Andersen <[EMAIL PROTECTED]> wrote: Here is the description of String.subString() substring public String substring(int beginIndex, int endIndex) Returns a new string that is a substring of this string. The substring begins at the specified beginIndex and extends to the

Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Andreas Korneliussen
Lance J. Andersen wrote: Here is the description of String.subString() substring public String *substring*(int beginIndex, int endIndex) Returns a new string that is a substring of this string.

Re: should Clob.getSubstring() allow length of 0?

2006-07-17 Thread Lance J. Andersen
Here is the description of String.subString() substring public String substring(int beginIndex, int endIndex) Returns a new string that is a substring of this string. The substring begins at the specified beginIndex and extends to the character at index endIndex - 1.