Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 7435 invoked from network); 14 Jun 2007 09:24:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 09:24:47 -0000 Received: (qmail 64806 invoked by uid 500); 14 Jun 2007 09:24:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64776 invoked by uid 500); 14 Jun 2007 09:24:50 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 64767 invoked by uid 99); 14 Jun 2007 09:24:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 02:24:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 02:24:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 26B5C7140D2 for ; Thu, 14 Jun 2007 02:24:26 -0700 (PDT) Message-ID: <10255324.1181813066155.JavaMail.jira@brutus> Date: Thu, 14 Jun 2007 02:24:26 -0700 (PDT) From: "V.Narayanan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2730) Implement not implemented Embedded methods Blob.getBinaryStream(long pos, long length) and Clob. getCharacterStream(long pos, long length) In-Reply-To: <8961973.1180520955585.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] V.Narayanan updated DERBY-2730: ------------------------------- Attachment: GetCharacterStreamImpl_v2.stat GetCharacterStreamImpl_v2.diff Thank you for the review on the patch. I found a clue on how to handle this from already exisiting usage of the other Updatable stream constructors. I removed the try catch in the updatable streams and moved them into the corresponding Lob classes where they were being used. Here I called the Util.setStreamFailure passing the IOException as parameter. I ran the jdbc4/BlobTest, jdbc4/ClobTest and jdbcapi/BlobClob4BlobTest and saw no failures. I have started a junit All run and shall revert back with results. > Implement not implemented Embedded methods Blob.getBinaryStream(long pos, long length) and Clob. getCharacterStream(long pos, long length) > ------------------------------------------------------------------------------------------------------------------------------------------ > > Key: DERBY-2730 > URL: https://issues.apache.org/jira/browse/DERBY-2730 > Project: Derby > Issue Type: New Feature > Components: JDBC > Affects Versions: 10.3.0.0 > Reporter: V.Narayanan > Assignee: V.Narayanan > Fix For: 10.3.0.0 > > Attachments: GetBinaryStreamImpl_v1.diff, GetBinaryStreamImpl_v1.stat, GetBinaryStreamImpl_v1_NOT_FOR_COMMIT.diff, GetBinaryStreamImpl_v1_NOT_FOR_COMMIT.stat, GetBinaryStreamImpl_v2.diff, GetBinaryStreamImpl_v2.stat, GetCharacterStreamImpl_v1.diff, GetCharacterStreamImpl_v1.stat, GetCharacterStreamImpl_v2.diff, GetCharacterStreamImpl_v2.stat > > > The following methods were introduced in the java.sql.Clob and java.sql.Blob interface as part of JDBC 4.0 and need to be implemented. > Clob > ------ > getCharacterStream(long pos, long length) > Blob > ------ > getBinaryStream(long pos, long length) > The implementation on the Network Client is already done as part of Derby-2444 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.