From derby-dev-return-40555-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Mon Apr 16 13:52:38 2007 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 39884 invoked from network); 16 Apr 2007 13:52:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 13:52:37 -0000 Received: (qmail 46221 invoked by uid 500); 16 Apr 2007 13:52:43 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 46192 invoked by uid 500); 16 Apr 2007 13:52:43 -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 46183 invoked by uid 99); 16 Apr 2007 13:52:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 06:52:43 -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; Mon, 16 Apr 2007 06:52:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5515D714040 for ; Mon, 16 Apr 2007 06:52:15 -0700 (PDT) Message-ID: <20881285.1176731535329.JavaMail.jira@brutus> Date: Mon, 16 Apr 2007 06:52:15 -0700 (PDT) From: =?utf-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Updated: (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 updated DERBY-2495: ----------------------------------- Attachment: derby-2459-followup.diff This follow-up patch, derby-2495/trunk/derby-2459-followup.diff, contains m= ostly javadoc changes etc. In addition, a 'return new String("")' had been= changed to 'return ""'. M java/client/org/apache/derby/client/am/PreparedStatement.java M java/client/org/apache/derby/client/am/CallableLocatorProcedures.jav= a > 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 > Assigned To: =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.