Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 41458 invoked from network); 20 Feb 2009 16:18:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 16:18:31 -0000 Received: (qmail 44749 invoked by uid 500); 20 Feb 2009 16:18:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44658 invoked by uid 500); 20 Feb 2009 16:18:24 -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 44641 invoked by uid 99); 20 Feb 2009 16:18:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 08:18:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 16:18:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02B2A234C4AA for ; Fri, 20 Feb 2009 08:18:02 -0800 (PST) Message-ID: <1240680864.1235146682009.JavaMail.jira@brutus> Date: Fri, 20 Feb 2009 08:18:02 -0800 (PST) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4066) Allow functions/procedures to take Blob/Clob arguments In-Reply-To: <678611670.1235144761834.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-4066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas updated DERBY-4066: --------------------------------- Attachment: derby-4066-01-aa-enableLobArgs.diff Attaching derby-4066-01-aa-enableLobArgs.diff. This patch removes disabling code which prevents us from declaring and invoking functions/procedures with LOB arguments. I haven't run regression tests yet and I'm waiting for community feedback on why we don't allow these arguments today. Touches the following files: M java/engine/org/apache/derby/impl/sql/compile/CreateAliasNode.java Removes the code which prevents us from declaring functions/procedures with long argument types. M java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java Removes the code which prevents us from invoking functions/procedures with long argument types. M java/testing/org/apache/derbyTesting/functionTests/tests/lang/AnsiSignaturesTest.java M java/testing/org/apache/derbyTesting/functionTests/tests/lang/AnsiSignatures.java Adds some simple tests to verify that you can now declare and invoke functions with LOB arguments. > Allow functions/procedures to take Blob/Clob arguments > ------------------------------------------------------ > > Key: DERBY-4066 > URL: https://issues.apache.org/jira/browse/DERBY-4066 > Project: Derby > Issue Type: New Feature > Affects Versions: 10.4.2.0 > Reporter: Rick Hillegas > Attachments: derby-4066-01-aa-enableLobArgs.diff > > > Derby objects if you try to declare a function or procedure with an argument whose type is BLOB or CLOB. These kinds of arguments are allowed in the SQL standard and the matching Java types are java.sql.Blob and java.sql.Clob. See the SignatureMatching.html summary attached to DERBY-3652. > We should lift this restriction and allow functions and procedures to take large object arguments. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.