Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 34256 invoked from network); 27 Mar 2009 14:01:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 14:01:20 -0000 Received: (qmail 53901 invoked by uid 500); 27 Mar 2009 14:01:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 53855 invoked by uid 500); 27 Mar 2009 14:01:19 -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 53847 invoked by uid 99); 27 Mar 2009 14:01:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 14:01:19 +0000 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG 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, 27 Mar 2009 14:01:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B934234C04C for ; Fri, 27 Mar 2009 07:00:52 -0700 (PDT) Message-ID: <576401481.1238162452570.JavaMail.jira@brutus> Date: Fri, 27 Mar 2009 07:00:52 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-4126) You can't invoke a table function which is stored in a jar file inside the database In-Reply-To: <513043546.1238162210851.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas reassigned DERBY-4126: ------------------------------------ Assignee: Rick Hillegas > You can't invoke a table function which is stored in a jar file inside the database > ----------------------------------------------------------------------------------- > > Key: DERBY-4126 > URL: https://issues.apache.org/jira/browse/DERBY-4126 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.6.0.0 > Reporter: Rick Hillegas > Assignee: Rick Hillegas > > You get a ClassNotFoundException when you try to invoke a table function which lives in a jar file stored inside the database. This is because FromVTI.implementsDerbyStyleVTICosting() looks up the class using Class.forName() rather than using the session classloader. A similar bug is in FromVTI.getVTICosting(). This bug was reported by Krzysztof N in the following user list thread: http://www.nabble.com/Uinable-to-use-Table-function-due-to-java.lang.ClassNotFoundException--while-class-is-clearly-reachable..-td22478383.html#a22699492 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.