Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 49252 invoked from network); 10 Sep 2007 13:28:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2007 13:28:52 -0000 Received: (qmail 63914 invoked by uid 500); 10 Sep 2007 13:28:44 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 63883 invoked by uid 500); 10 Sep 2007 13:28:43 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 63872 invoked by uid 99); 10 Sep 2007 13:28:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 06:28:43 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.43.132] (HELO sca-es-mail-1.sun.com) (192.18.43.132) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 13:28:39 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id l8ADSIL0012442 for ; Mon, 10 Sep 2007 06:28:18 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JO500801MR6QX00@fe-sfbay-10.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-user@db.apache.org; Mon, 10 Sep 2007 06:28:18 -0700 (PDT) Received: from richard-hillegas-computer.local ([129.150.17.136]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JO500C8XMR6J170@fe-sfbay-10.sun.com> for derby-user@db.apache.org; Mon, 10 Sep 2007 06:28:18 -0700 (PDT) Date: Mon, 10 Sep 2007 06:28:18 -0700 From: Rick Hillegas Subject: Re: REMARKS column In-reply-to: <595227.80688.qm@web31810.mail.mud.yahoo.com> Sender: Richard.Hillegas@Sun.COM To: Derby Discussion Message-id: <46E54672.4030605@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <595227.80688.qm@web31810.mail.mud.yahoo.com> User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) X-Virus-Checked: Checked by ClamAV on apache.org Hi Geoff, You're welcome to create a JIRA issue, describing this new feature. Instructions on how to create a JIRA can be found in the "Provide Feedback" section at the top of the following webpage: http://db.apache.org/derby/derby_comm.html At a minimum, other people may be able to help you brainstorm what you need here. For instance, do you want to set the contents of REMARKS when you create the table or do you want to be able to change the REMARKS dynamically at run time? This would be a good introductory feature for someone who wants to learn how to extend Derby. Naturally, you're welcome to try this yourself! Regards, -Rick Geoff hendrey wrote: > Thanks for your reply. The "REMARKS" column I am interested in would > be the one returned in the ResultSet for getColumns(). > > I was hoping there was a way to write content into the REMARKS for a > given column without having to build my own version of Derby. It seems > like it would be a very convenient and useful feature, to be able to > write the REMARKS. This could be used to annotate the columns of one's > data model. > > Is there any chance you would consider adding this as a feature? There > could be a system call that would allow the REMARK to be written for a > given column. > > Thanks! > -geoff > > > =============== > Hi Geoff, > > Several DatabaseMetaData methods return ResultSets which have a column > named REMARKS. For instance, getColumns(), getTables(), and > > getProcedures() return ResultSets which contain a REMARKS column. The > contents of these columns are determined by queries stored in the > following Derby source file: > java/engine/org/apache/derby/impl/jdbc/metadata.properties. In order to > change the contents of these columns, you would have to edit those > queries and build your own Derby engine. > > Hope this helps, > -Rick > > Geoff hendrey wrote: > > I want to use the REMARKS column of DatabaseMetaData to store remarks > > about a column. > > I see how to retrieve the REMARKS, but how would I go about *setting* > > the REMARKS. > > > > -geoff > > > > > >