Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 16080 invoked from network); 31 Aug 2006 21:36:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 21:36:49 -0000 Received: (qmail 83037 invoked by uid 500); 31 Aug 2006 21:36:48 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 83000 invoked by uid 500); 31 Aug 2006 21:36: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 82991 invoked by uid 99); 31 Aug 2006 21:36:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 14:36:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jta@bristowhill.com designates 66.75.162.135 as permitted sender) Received: from [66.75.162.135] (HELO ms-smtp-03.socal.rr.com) (66.75.162.135) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 14:36:48 -0700 Received: from [192.168.15.53] (cpe-72-130-190-172.san.res.rr.com [72.130.190.172]) by ms-smtp-03.socal.rr.com (8.13.6/8.13.6) with ESMTP id k7VLaPBO011657 for ; Thu, 31 Aug 2006 14:36:26 -0700 (PDT) Message-ID: <44F75659.20108@bristowhill.com> Date: Thu, 31 Aug 2006 14:36:25 -0700 From: "Jean T. Anderson" Reply-To: jta@bristowhill.com User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Wording to explain variable markers in messages (was Re: [jira] Commented: (DERBY-1566) Document SQLStates in 10.2) References: <24754153.1157056703042.JavaMail.jira@brutus> <44F74C45.50709@sun.com> In-Reply-To: <44F74C45.50709@sun.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Here's a first shot: In the messages below each {n} tag, where n is a number, represents a value that the Derby engine fills in at runtime. Examples of values include database names, database object names, property names, user names, and parameters passed to a function or procedure. suggestions? -jean David Van Couvering wrote: > I think this is reasonable... > > David > > Laura Stewart (JIRA) wrote: > >> [ >> http://issues.apache.org/jira/browse/DERBY-1566?page=comments#action_12431970 >> ] Laura Stewart commented on DERBY-1566: >> -------------------------------------- >> >> I understand the benefit of using the tool to generate current >> messages. Of course I do prefer the human readable variables instead >> of the markers like >> {0} and {1}. >> >> If we stick with this approach, I recommend that a sentence be added >> to the message files that explains the variable markers. >> >>> Document SQLStates in 10.2 >>> -------------------------- >>> >>> Key: DERBY-1566 >>> URL: http://issues.apache.org/jira/browse/DERBY-1566 >>> Project: Derby >>> Issue Type: Improvement >>> Components: Documentation >>> Affects Versions: 10.2.1.0 >>> Reporter: Rick Hillegas >>> Assigned To: David Van Couvering >>> Fix For: 10.2.1.0 >>> >>> Attachments: derby-1566-1.diff, derby-1566-2.diff, >>> derby-1566-3.diff, ErrorMessageGenerator.david.diffs, >>> ErrorMessageGenerator.david.diffs2, >>> ErrorMessageGenerator.david.diffs3, ErrorMessageGenerator.david.java, >>> ErrorMessageGenerator.java, ErrorMessageGenerator_davidv3_john.diff, >>> newmsgs-10.2.txt, rrefexcept-2.html, rrefexcept-3.html, >>> rrefexcept71493.html >>> >>> >>> We need to update the Reference Guide to document the current list of >>> SQLStates. This list goes into >>> Reference Guide >>> Derby exception messages and SQL states >>> SQLState and error message reference >>> The tool mentioned in DERBY-296 may be useful. >> >>