Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 96963 invoked from network); 8 Aug 2007 15:33:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 15:33:25 -0000 Received: (qmail 39461 invoked by uid 500); 8 Aug 2007 15:33:23 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 39234 invoked by uid 500); 8 Aug 2007 15:33:23 -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 38843 invoked by uid 99); 8 Aug 2007 15:33:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 08:33:22 -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, 08 Aug 2007 15:33:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 026DD714191 for ; Wed, 8 Aug 2007 08:33:00 -0700 (PDT) Message-ID: <12138464.1186587180005.JavaMail.jira@brutus> Date: Wed, 8 Aug 2007 08:33:00 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-716) Re-enable VTIs In-Reply-To: <1393942992.1132272881534.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 [ https://issues.apache.org/jira/browse/DERBY-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas updated DERBY-716: -------------------------------- Attachment: derby-716-02-DatabaseMetaData-aa.diff Attaching derby-716-02-DatabaseMetaData-aa.diff. This patch adds TableFunction support to our implementation of DatabaseMetaData.getFunctions() and getFunctionColumns(). Touches the following files: M java/engine/org/apache/derby/catalog/types/RoutineAliasInfo.java Add a new method so that metadata queries can determine whether a function is a TableFunction. M java/engine/org/apache/derby/impl/jdbc/metadata.properties M java/engine/org/apache/derby/catalog/GetProcedureColumns.java Amend the queries and the dbproc which provide the results for getFunctions() and getFunctionColumns(). M java/shared/org/apache/derby/shared/common/reference/JDBC40Translation.java M java/testing/org/apache/derbyTesting/functionTests/tests/lang/TableFunctionTest.java M java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/TestDbMetaData.java M java/testing/org/apache/derbyTesting/junit/JDBC.java Regrssion tests. The regression tests ran cleanly for me under Java 6 except for the outstanding orphaned ResultSet problem in ProcedureInTriggerTest. That test runs cleanly standalone. This is the same regression test behavior seen in DERBY-2983. > Re-enable VTIs > -------------- > > Key: DERBY-716 > URL: https://issues.apache.org/jira/browse/DERBY-716 > Project: Derby > Issue Type: New Feature > Components: SQL > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Attachments: derby-716-01-basic-aa.diff, derby-716-02-DatabaseMetaData-aa.diff, functionTables.html, functionTables.html, functionTables.html > > > Cloudscape used to expose Virtual Table Interfaces, by which any class which implemented ResultSet could be included in a query's FROM list. Derby still exposes a number of these VTIs as diagnostic tools. However, Derby now prevents customers from declaring their own VTIs. The parser raises an error if a VTI's package isn't one of the Derby diagnostic packages. > This is a very powerful feature which customers can use to solve many problems. We should discuss the reasons that it was disabled and come up with a plan for putting this power back into our customers' hands. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.