Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 53576 invoked from network); 4 Oct 2005 18:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2005 18:09:20 -0000 Received: (qmail 35357 invoked by uid 500); 4 Oct 2005 18:09:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35124 invoked by uid 500); 4 Oct 2005 18:09:18 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 35113 invoked by uid 99); 4 Oct 2005 18:09:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 11:09:18 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 749AD222 for ; Tue, 4 Oct 2005 20:08:57 +0200 (CEST) Message-ID: <1168548836.1128449337475.JavaMail.jira@ajax.apache.org> Date: Tue, 4 Oct 2005 20:08:57 +0200 (CEST) From: "Sunitha Kambhampati (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-352) Clobs on insert using streams should not instantiate into memory In-Reply-To: <1584617435.1118685410258.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-352?page=all ] Sunitha Kambhampati updated DERBY-352: -------------------------------------- Attachment: Derby352.diff.txt > Clobs on insert using streams should not instantiate into memory > ----------------------------------------------------------------- > > Key: DERBY-352 > URL: http://issues.apache.org/jira/browse/DERBY-352 > Project: Derby > Type: Bug > Components: JDBC, Performance, Store > Versions: 10.0.2.1, 10.0.2.0 > Environment: all > Reporter: Sunitha Kambhampati > Assignee: Sunitha Kambhampati > Attachments: Derby352.diff.txt > > Currently in derby, for an insert on a clob using setCharacterStream what will happen is , the entire stream will be materialized into a char array and sent to store for the insert. > see - SQLVarChar.normalize, where getString() is called and SQLChar.getString() will materiliaze the entire stream into a char array ( SQLChar.readExternal). > The store layer must actually drive the streaming. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira