Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 50355 invoked from network); 11 Jul 2007 08:12:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2007 08:12:28 -0000 Received: (qmail 32412 invoked by uid 500); 11 Jul 2007 08:12:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 32375 invoked by uid 500); 11 Jul 2007 08:12:29 -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 32347 invoked by uid 99); 11 Jul 2007 08:12:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 01:12:29 -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; Wed, 11 Jul 2007 01:12:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 59AB5714201 for ; Wed, 11 Jul 2007 01:12:05 -0700 (PDT) Message-ID: <9628035.1184141525357.JavaMail.jira@brutus> Date: Wed, 11 Jul 2007 01:12:05 -0700 (PDT) From: =?utf-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-2495) Create framework for calling locator related stored procedures from client In-Reply-To: <13963871.1175081072184.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2495?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] =C3=98ystein Gr=C3=B8vlen closed DERBY-2495. ---------------------------------- > Create framework for calling locator related stored procedures from clien= t > -------------------------------------------------------------------------= - > > Key: DERBY-2495 > URL: https://issues.apache.org/jira/browse/DERBY-2495 > Project: Derby > Issue Type: Sub-task > Components: Network Client > Reporter: =C3=98ystein Gr=C3=B8vlen > Assignee: =C3=98ystein Gr=C3=B8vlen > Fix For: 10.3.0.0 > > Attachments: blobframework.diff, blobframework_v2.diff, blobframe= work_v2.diff, derby-2459-followup.diff > > > The client JDBC driver will need to call stored procedures (ref DERBY-225= 7) to operate on LOBs identified by locators. We should create a framework= that implement the stored procedure calls. This way, the rest of the clie= nt code can call methods in this framework when needing to call the stored = procedures without having to prepare SQL statements themselves. =20 > The framework should make sure that prepared statements are reused within= a connection. Each procedure call should only be prepared once per connec= tion. > Since LOBs can not be parameters to stored procedures, the framework shou= ld make sure that calls involving a byte[] or String that does not fit in a= VARCHAR (FOR BIT DATA), are split into several calls each operating on a f= ragment of the LOB. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.