Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 79176 invoked from network); 3 Mar 2006 19:18:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Mar 2006 19:18:03 -0000 Received: (qmail 64008 invoked by uid 500); 3 Mar 2006 19:18:49 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 63775 invoked by uid 500); 3 Mar 2006 19:18:48 -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 63765 invoked by uid 99); 3 Mar 2006 19:18:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 11:18:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 11:18:47 -0800 Received: from fe-amer-06.sun.com ([192.18.108.180]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id k23JIQSD017729 for ; Fri, 3 Mar 2006 12:18:26 -0700 (MST) Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0IVK00G01FVDQL00@mail-amer.sun.com> (original mail from Lance.Andersen@Sun.COM) for derby-dev@db.apache.org; Fri, 03 Mar 2006 12:18:26 -0700 (MST) Received: from [129.150.65.212] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0IVK00EO9GANRRE1@mail-amer.sun.com> for derby-dev@db.apache.org; Fri, 03 Mar 2006 12:18:26 -0700 (MST) Date: Fri, 03 Mar 2006 14:18:23 -0500 From: "Lance J. Andersen" Subject: Re: JDBC4 Spec exegesis needed, was: [jira] Commented: (DERBY-925) Implement new JDBC 4 metadata API getFunctionParameters() In-reply-to: <4408748F.50904@sun.com> Sender: Lance.Andersen@Sun.COM To: derby-dev@db.apache.org Message-id: <4408967F.4060407@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 7BIT References: <2124723271.1141384732886.JavaMail.jira@ajax.apache.org> <4408748F.50904@sun.com> User-Agent: Thunderbird 1.5 (Windows/20051201) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Rick, There is a limited number of DatabaseMetaData methods have allowed this to occur as part of the functionality. This was unfortunate IMHO. -lance Rick Hillegas wrote: > Hi Lance, > > Is it OK for a JDBC3 implementation to return more information than > the spec demands? In particular, consider the various result sets > returned by DatabaseMetaData calls. Is it OK for these result sets to > contain additional, trailing columns, above and beyond the columns > required by the JDBC3 spec? To be even more pedantic, can JDBC3 > implementations return the fatter JDBC4 result sets? > > Thanks, > -Rick > > Dyre Tjeldvoll (JIRA) wrote: > >> [ >> http://issues.apache.org/jira/browse/DERBY-925?page=comments#action_12368699 >> ] >> Dyre Tjeldvoll commented on DERBY-925: >> -------------------------------------- >> >> I just realized that DatabaseMetaData.getProcedureColumns() has been >> changed in JDBC 4.0. The result set it returns now conatains a number >> of new columns and is, in fact, a super set of the columns returned >> by getFunctionParameters. For JDBC 4.0 it will likely be necessary to >> extend the existing GetProcedureColumns.java VTI with much of the >> same information that I was thinking about putting into the new VTI. >> Perhaps both methods can be implemented with queries against a single >> VTI? We will probably need a separate getProcedureColumns40 query in >> metadata.properties to maintain backward compatibility? >> >> >> >>> Implement new JDBC 4 metadata API getFunctionParameters() >>> --------------------------------------------------------- >>> >>> Key: DERBY-925 >>> URL: http://issues.apache.org/jira/browse/DERBY-925 >>> Project: Derby >>> Type: New Feature >>> Components: JDBC >>> Versions: 10.2.0.0 >>> Environment: JDK 1.6 >>> Reporter: David Van Couvering >>> Assignee: Dyre Tjeldvoll >>> Attachments: TypePrinter.java >>> >>> I am currently implementing this to return an empty result set so at >>> least we're compliant, but we should be able to provide real >>> metadata here. >>> >> >> >> >