Re: Error in docs -- or something more sinister?
Colin Rosenthal wrote: > On Tue, 2005-11-01 at 18:50, Daniel John Debrunner wrote: > >>Lars Clausen wrote: >> >> >>>The 10.1 docs state that the java.sql.Clob.getCharacterStream() method >>>is UNSUPPORTED [sic], however it works nicely when I try to use it. Is >>>the documentation out of date, or are there some special cases I should >>>know about where is it indeed unsupported? >> >>My guess is that it is not supported for embedded. > > > We are actually using it in embedded mode. I went back in the old history of the Cloudscape code and it seems that getCharacterStream was always supported in embedded mode, though possibly it did not work in JDK 1.1. Thus I think the NOT SUPPORTED in the docs is just a result of a miscommunication. Dan.
Re: Error in docs -- or something more sinister?
On Tue, 2005-11-01 at 19:13, Sunitha Kambhampati wrote: > Lars Clausen wrote: > > >The 10.1 docs state that the java.sql.Clob.getCharacterStream() method > >is UNSUPPORTED [sic], however it works nicely when I try to use it. Is > >the documentation out of date, or are there some special cases I should > >know about where is it indeed unsupported? > > > >-Lars > > > > > > > > > > > It seems to me a documentation bug. It would be great if you could file > a doc bug for it in jira. Thanks. Done. > Derby supports java.sql.Clob.getCharacterStream(). > Derby in embedded mode does not yet support > java.sql.Clob.setCharacterStream(long pos) though. No, we use java.sql.Statement.setCharacterStream() instead. -Lars
Re: Error in docs -- or something more sinister?
On Tue, 2005-11-01 at 18:50, Daniel John Debrunner wrote: > Lars Clausen wrote: > > > The 10.1 docs state that the java.sql.Clob.getCharacterStream() method > > is UNSUPPORTED [sic], however it works nicely when I try to use it. Is > > the documentation out of date, or are there some special cases I should > > know about where is it indeed unsupported? > > My guess is that it is not supported for embedded. We are actually using it in embedded mode. Colin Rosenthal Statsbiblioteket
Re: Error in docs -- or something more sinister?
Lars Clausen wrote: The 10.1 docs state that the java.sql.Clob.getCharacterStream() method is UNSUPPORTED [sic], however it works nicely when I try to use it. Is the documentation out of date, or are there some special cases I should know about where is it indeed unsupported? -Lars It seems to me a documentation bug. It would be great if you could file a doc bug for it in jira. Thanks. Derby supports java.sql.Clob.getCharacterStream(). Derby in embedded mode does not yet support java.sql.Clob.setCharacterStream(long pos) though. Sunitha.
Re: Error in docs -- or something more sinister?
Lars Clausen wrote: > The 10.1 docs state that the java.sql.Clob.getCharacterStream() method > is UNSUPPORTED [sic], however it works nicely when I try to use it. Is > the documentation out of date, or are there some special cases I should > know about where is it indeed unsupported? My guess is that it is not supported for embedded. Nothing sinister, just documentation not in sync with the code. We are always looking for folks to help out! Dan.
